My understanding is its not really possible to do this in php in a way that would actually be of use to anyone. See https://bugzilla.wikimedia.org/show_bug.cgi?id=26631#c1
-bawolff On 4/17/13, Petr Onderka <[email protected]> wrote: > Regarding #7 in that list (Expect: 100-Continue), I think it would be nice > if Wikimedia wikis did this. > > I know that at least in .Net, if I send a POST request to > http://en.wikipedia.org/w/api.php, > the Expect: 100-Continue header will be set, which results in an 417 > Expectation failed error. > > .Net has a switch to turn that header off, and with that the request will > work fine. > But I think it would be nice if Wikimedia wikis supported this. > > I think this is an issue with something in Wikimedia's configuration > (Squid? or maybe something like that) and not MediaWiki itself, because it > works fine for my local MediaWiki installation even with Expect: > 100-Continue set. > > Petr Onderka > [[en:User:Svick]] > > > On Wed, Apr 17, 2013 at 5:50 AM, Tyler Romeo <[email protected]> wrote: > >> Found this interesting articles on designing an API for what it's worth. >> Thought some people my find it interesting. >> >> http://mathieu.fenniak.net/the-api-checklist/ >> *-- * >> *Tyler Romeo* >> Stevens Institute of Technology, Class of 2015 >> Major in Computer Science >> www.whizkidztech.com | [email protected] >> _______________________________________________ >> Wikitech-l mailing list >> [email protected] >> https://lists.wikimedia.org/mailman/listinfo/wikitech-l > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
