##// END OF EJS Templates
hgweb: document continuereader...
Gregory Szorc -
r36869:70666171 default
parent child Browse files
Show More
@@ -101,6 +101,13 b' class ErrorResponse(Exception):'
101 101 self.headers = headers
102 102
103 103 class continuereader(object):
104 """File object wrapper to handle HTTP 100-continue.
105
106 This is used by servers so they automatically handle Expect: 100-continue
107 request headers. On first read of the request body, the 100 Continue
108 response is sent. This should trigger the client into actually sending
109 the request body.
110 """
104 111 def __init__(self, f, write):
105 112 self.f = f
106 113 self._write = write
General Comments 0
You need to be logged in to leave comments. Login now