Submitter | phabricator |
---|---|
Date | March 10, 2018, 1:23 a.m. |
Message ID | <differential-rev-PHID-DREV-a7war6ypw3phhkzlqpij-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/29223/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/hgweb/common.py b/mercurial/hgweb/common.py --- a/mercurial/hgweb/common.py +++ b/mercurial/hgweb/common.py @@ -101,6 +101,13 @@ self.headers = headers class continuereader(object): + """File object wrapper to handle HTTP 100-continue. + + This is used by servers so they automatically handle Expect: 100-continue + request headers. On first read of the request body, the 100 Continue + response is sent. This should trigger the client into actually sending + the request body. + """ def __init__(self, f, write): self.f = f self._write = write