hgweb: pass the actual response body to request.response, not just the length
This makes it less likely to send a response that doesn't match Content-Length.
Showing
- mercurial/hgweb/common.py 2 additions, 2 deletionsmercurial/hgweb/common.py
- mercurial/hgweb/hgweb_mod.py 3 additions, 2 deletionsmercurial/hgweb/hgweb_mod.py
- mercurial/hgweb/protocol.py 8 additions, 8 deletionsmercurial/hgweb/protocol.py
- mercurial/hgweb/request.py 6 additions, 3 deletionsmercurial/hgweb/request.py
- mercurial/hgweb/webcommands.py 2 additions, 2 deletionsmercurial/hgweb/webcommands.py
Loading
Please register or sign in to comment