diff contrib/dirstatenonnormalcheck.py @ 36857:da4e2f87167d

hgweb: expose input stream on parsed WSGI request object Our next step towards moving away from wsgirequest to our newer, friendlier parsedrequest type is input stream access. This commit exposes the input stream on the instance. Consumers in the HTTP protocol server switch to it. Because there were very few consumers of the input stream, we stopped storing a reference to the input stream on wsgirequest directly. All access now goes through parsedrequest. However, wsgirequest still may read from this stream as part of cgi.parse(). So we still need to create the stream from wsgirequest. Differential Revision: https://phab.mercurial-scm.org/D2771
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 10 Mar 2018 11:06:13 -0800
parents 6e7fae8f1c6c
children 2372284d9457
line wrap: on
line diff