I didn't necessarily mean that the 100-Continue workflow should be fully
supported.
I think Ignoring the header would be much better than completely refusing
to work with it (and replying with error 417) and my guess is that doing
that should be possible.
Looking at the HTTP specification [1], it says that a proxy *has to* return
417 if the target server doesn't support HTTP/1.1.
Though I have no idea why would the specification require this.
Petr Onderka
[[en:user:Svick]]
[1]:
On Wed, Apr 17, 2013 at 10:33 PM, Brian Wolff <bawolff(a)gmail.com> wrote:
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 <gsvick(a)gmail.com> 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 <tylerromeo(a)gmail.com>
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 | tylerromeo(a)gmail.com
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l