Re: Content-Length being written twice in HTTPHeader
2012-02-01 00:37:08 GMT
This wiki is on a shared host. I don't have root access, not even a jailed shell. I don't think I can control that with php.ini, although I do have php.ini access. Tom Sent from my iPhone On Jan 31, 2012, at 6:13 PM, OQ <overlordq <at> gmail.com> wrote: > On Tue, Jan 31, 2012 at 5:11 PM, OQ <overlordq <at> gmail.com> wrote: >> On Tue, Jan 31, 2012 at 4:32 PM, Platonides <platonides <at> gmail.com> wrote: >>> On 31/01/12 17:25, Tom Hutchison wrote: >>>> Same for all of them, whether there is 2, 3 or 4 header sets in the php >>>> script. >>>> >>>> The only time the Content-Length vanished from the header was when I >>>> requested just the header without setting the Content-Length. >>>> >>>> So the question becomes, since this server is forcing the Content-Length >>>> to be appended to the header, how do I stop the API from writing the >>>> extra Content-Length to the header? >>>> >>>> Thanks for your help! >>>> Tom >>> >>> Looks like a nginx bug. They are always adding a Content-Length. Even if >>> one was already provided by the cgi. >> >> I'd definately check your configuration, mine send 0 content-length headers. > > And by zero I meant 1.(Continue reading)
RSS Feed