2010/3/11 Krenar Qehaja <[email protected]>:
>> POST /w/api.php?action=edit&format=xml HTTP/1.1
> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8)
> Gecko/20100214 Ubuntu/9.10 (karmic) Firefox/3.5.8
> Host: en.wikipedia.org
> Accept: */*
> Cookie: enwikiUserName=Kedadi; enwikiUserID=252701;
> enwikiToken=e90204af77a78cc5fdfdd035a69c45c2;
> enwiki_session=39ee0fb34e4f5f68ce4977a3987f474e
> Content-Length: 1324
> Content-Type: application/x-www-form-urlencoded
> Expect: 100-continue
>
> * HTTP 1.0, assume close after body
> < HTTP/1.0 417 Expectation failed
> < Server: squid/2.7.STABLE6
Looks like our Squids don't support HTTP 1.1 continue requests for
some weird reason. Try telling cURL to use HTTP 1.0 instead of HTTP
1.1, or (if possible) to not use continue requests.

Roan Kattouw (Catrope)

_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to