From f1d519d7c4231513c868179abf0fbfbb9387e633 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Wed, 21 Sep 2016 20:36:26 -0700 Subject: fix pathod http2 response creation --- pathod/language/http2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pathod/language') diff --git a/pathod/language/http2.py b/pathod/language/http2.py index c0313baa..519ee699 100644 --- a/pathod/language/http2.py +++ b/pathod/language/http2.py @@ -189,7 +189,7 @@ class Response(_HTTP2Message): resp = http.Response( b'HTTP/2.0', - self.status_code.string(), + int(self.status_code.string()), b'', headers, body, -- cgit v1.2.3