input_wrapper: don't wrap if we don't have to
commitf5eae25bad81afcd0e0c11f671a7fa7e12461015
authorEric Wong <normalperson@yhbt.net>
Thu, 12 Nov 2009 21:38:09 +0000 (12 13:38 -0800)
committerEric Wong <normalperson@yhbt.net>
Thu, 12 Nov 2009 21:38:09 +0000 (12 13:38 -0800)
tree65a7ae52d370050ce251b501211636b8b7d4c263
parentf301f399937f9ff62dc41a9cd8e1ea45b43baa6b
input_wrapper: don't wrap if we don't have to

Clients _must_ will either specify the Content-Length header
_or_ "Transfer-Encoding: chunked".  This will work around
clients that seem to send POST requests with no body at all in
them.
lib/upr/input_wrapper.rb