Am 09.07.2013 13:40, schrieb Itamar Turner-Trauring: > On 07/09/2013 07:30 AM, Itamar Turner-Trauring wrote: >> HTTP clients can send a "Expects: 100-continue" header (or something >> like that), which tells the server it should give an early rejection >> or acceptance before the client sends the data, in *addition* to the >> final response. You would still need to write some code to support >> this, but it is possible. > Although this only lets you reject based on headers, not body.
If you have a Content Size header, it works, for chunked encoding not so much. But client side support for 100-continue is spotty, at least the python stdlib httplib client mishandles 100-continue requests in an attempt to work around Microsoft IIS strangeness. Michael -- Michael Schlenker Software Architect CONTACT Software GmbH Tel.: +49 (421) 20153-80 Wiener Straße 1-3 Fax: +49 (421) 20153-41 28359 Bremen http://www.contact.de/ E-Mail: m...@contact.de Sitz der Gesellschaft: Bremen Geschäftsführer: Karl Heinz Zachries, Ralf Holtgrefe Eingetragen im Handelsregister des Amtsgerichts Bremen unter HRB 13215 _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python