##// END OF EJS Templates
hgweb: in protocol adapter, look for bytes instances, not str...
Augie Fackler -
r34511:c23fa310 default
parent child Browse files
Show More
@@ -164,7 +164,7 b' def call(repo, req, cmd):'
164 164 yield chunk
165 165
166 166 rsp = wireproto.dispatch(repo, p, cmd)
167 if isinstance(rsp, str):
167 if isinstance(rsp, bytes):
168 168 req.respond(HTTP_OK, HGTYPE, body=rsp)
169 169 return []
170 170 elif isinstance(rsp, wireproto.streamres):
General Comments 0
You need to be logged in to leave comments. Login now