This revision was automatically updated to reflect the committed changes.
Closed by commit rHG14f70c44af6c: wireprotoserver: access headers through
parsed request (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
indygreg added inline comments.
INLINE COMMENTS
> durin42 wrote in wireprotoserver.py:97
> Missed one?
No. This preserves the behavior since HTTP_CONTENT_LENGTH != CONTENT_LENGTH. I
fix this in a later commit by teaching the request object about both keys.
REPOSITORY
rHG Mercurial
REVISION
durin42 added inline comments.
INLINE COMMENTS
> wireprotoserver.py:97
> else:
> length = int(self._wsgireq.env[r'CONTENT_LENGTH'])
> # If httppostargs is used, we need to read Content-Length
Missed one?
REPOSITORY
rHG Mercurial
REVISION DETAIL
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
Now that we can access headers via the parsed request object, let's
do that.
Since the new object uses bytes, hyphens, and is case-insensitive, a
bit of