Suppress 'Expect: 100-continue' header on Http::post, as some servers will reject...
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 2 Aug 2009 07:36:47 +0000 (07:36 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 2 Aug 2009 07:36:47 +0000 (07:36 +0000)
commit40038bfe4acc4b28f24d2e0513b9205df87c5166
tree85e49876f9f893e6b2245677c5d27ef0e1187ab5
parent523ce0a9b9fac162f38a0772f2e1568b1a208261
Suppress 'Expect: 100-continue' header on Http::post, as some servers will reject it with a 417 and Curl won't auto retry.
Curl seems to like to insert this HTTP 1.1 request header sometimes, but not always, when you add post data.
includes/HttpFunctions.php