##// 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 self.headers = headers
101 self.headers = headers
102
102
103 class continuereader(object):
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 def __init__(self, f, write):
111 def __init__(self, f, write):
105 self.f = f
112 self.f = f
106 self._write = write
113 self._write = write
General Comments 0
You need to be logged in to leave comments. Login now