diff --git a/sanic/server.py b/sanic/server.py index 699831bd..a4105f89 100644 --- a/sanic/server.py +++ b/sanic/server.py @@ -165,8 +165,6 @@ class HttpProtocol(asyncio.Protocol): self.url = url def on_header(self, name, value): - log.debug('on_header: %s %s', name, value) - self._header_fragment += name if value is not None: @@ -176,8 +174,6 @@ class HttpProtocol(asyncio.Protocol): self.headers.append((self._header_fragment.decode().casefold(), value.decode())) - log.debug('added header: %s %s', self._header_fragment, value) - self._header_fragment = b'' def on_headers_complete(self):