diff options
Diffstat (limited to 'libpathod/protocols/http.py')
-rw-r--r-- | libpathod/protocols/http.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libpathod/protocols/http.py b/libpathod/protocols/http.py index ac6cb374..531854d6 100644 --- a/libpathod/protocols/http.py +++ b/libpathod/protocols/http.py @@ -68,8 +68,4 @@ class HTTPProtocol(object): return self.pathod_handler.handle_http_request, None def read_request(self, lg=None): - try: - return http1.read_request(self.pathod_handler.rfile) - except HttpReadDisconnect: - # TODO: This is - return Request("", b"", b"", b"", b"", b"", b"", None, b"") + return http1.read_request(self.pathod_handler.rfile) |