Wow, 6 days later and the host is trying to tell me they do it to prevent Cross-scripting,
attacks. Did you ever heard such a line?
[mailto:firstname.lastname@example.org] On Behalf Of OQ
Sent: Wednesday, February 01, 2012 2:51 PM
To: MediaWiki API announcements & discussion
Subject: Re: [Mediawiki-api] Content-Length being written twice in HTTPHeader
On Wed, Feb 1, 2012 at 12:52 PM, Platonides <platonides(a)gmail.com> wrote:
On 01/02/12 00:13, OQ wrote:
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
Date: Tue, 31 Jan 2012 23:12:14 GMT
Are you also running php as cgi?
You're running a more recent php (5.3.9-1 vs 5.2.17), so it could also
have been a fixed php bug.
As FastCGI with php5-fpm.
Mediawiki-api mailing list