mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
...
This commit is contained in:
parent
e6de0db19d
commit
1e8c38d994
@ -359,7 +359,7 @@ class HTTPConnection(HTTPRequest):
|
|||||||
if e.location:
|
if e.location:
|
||||||
eh['Location'] = e.location
|
eh['Location'] = e.location
|
||||||
return self.simple_response(e.http_code, msg=e.message or '', close_after_response=e.close_connection, extra_headers=eh)
|
return self.simple_response(e.http_code, msg=e.message or '', close_after_response=e.close_connection, extra_headers=eh)
|
||||||
raise e, None, tb
|
raise etype, e, tb
|
||||||
|
|
||||||
data, output = result
|
data, output = result
|
||||||
output = self.finalize_output(output, data, self.method is HTTP1)
|
output = self.finalize_output(output, data, self.method is HTTP1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user