Show More
@@ -129,8 +129,9 class hgweb(object): | |||
|
129 | 129 | # A client that sends unbundle without 100-continue will |
|
130 | 130 | # break if we respond early. |
|
131 | 131 | if (cmd == 'unbundle' and |
|
132 | req.env.get('HTTP_EXPECT', | |
|
133 |
'').lower() != '100-continue') |
|
|
132 | (req.env.get('HTTP_EXPECT', | |
|
133 | '').lower() != '100-continue') or | |
|
134 | req.env.get('X-HgHttp2', '')): | |
|
134 | 135 | req.drain() |
|
135 | 136 | req.respond(inst, protocol.HGTYPE) |
|
136 | 137 | return '0\n%s\n' % inst.message |
General Comments 0
You need to be logged in to leave comments.
Login now