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@gmail.com wrote:
On Tue, Jan 31, 2012 at 5:11 PM, OQ overlordq@gmail.com wrote:
On Tue, Jan 31, 2012 at 4:32 PM, Platonides platonides@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.
HTTP/1.1 200 OK Server: nginx/1.1.14 Date: Tue, 31 Jan 2012 23:12:14 GMT Content-Type: text/html Content-Length: 6 Connection: close X-Powered-By: PHP/5.3.9-1
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api