in reply to Re: Error accessing MediaWiki API
in thread Error accessing MediaWiki API
rfc2616 says: If no Accept header field is present, then it is assumed that the client accepts all media types.
It will work if you add headers to say that explicitly
This is clearly a bug with that webserver, it doesn't implement HTTP/1.x as it claims.$mw->{ua}->default_header('Accept' => "*/*");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Error accessing MediaWiki API
by bobf (Monsignor) on Mar 29, 2009 at 19:50 UTC |