Welcome! Log In Create A New Profile

Advanced

Re: using location.capture to post a form

September 18, 2014 12:02PM
Thank you Yichun,

I was able to post the parameter from nginx by passing the arguments using this.
local maken_res = ngx.location.capture("/test", { method = ngx.HTTP_POST, args = { pagelayout = dev_res_encoded }});

This works only when post parameter size is less than 81568 characters. When the parameter size is greater than 81568, we get error 502.

is there any way to get around this limitation or is there a different way to post more than 81568 characters.

Jyoti
Subject Author Posted

using location.capture to post a form

jpsonweb September 16, 2014 02:24PM

Re: using location.capture to post a form

Yichun Zhang (agentzh) September 16, 2014 02:52PM

Re: using location.capture to post a form

jpsonweb September 18, 2014 12:02PM

Re: using location.capture to post a form

Yichun Zhang (agentzh) September 18, 2014 01:16PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 77
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready