diff options
-rw-r--r-- | pathod/language/http2.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pathod/language/http2.py b/pathod/language/http2.py index 45b2a104..e83fe9ad 100644 --- a/pathod/language/http2.py +++ b/pathod/language/http2.py @@ -190,7 +190,7 @@ class Response(_HTTP2Message): resp = http.Response( (2, 0), self.status_code.string(), - '', + b'', headers, body, ) @@ -271,11 +271,11 @@ class Request(_HTTP2Message): body = body.string() req = http.Request( - '', + b'', self.method.string(), - '', - '', - '', + b'', + b'', + b'', path, (2, 0), headers, |