diff --git a/http2.d b/http2.d index 32e1097..dcce30e 100644 --- a/http2.d +++ b/http2.d @@ -1992,6 +1992,8 @@ class HttpRequest { responseData.content = cast(ubyte[]) n; responseData.contentText = cast(string) responseData.content; //responseData.content ~= cast(ubyte[]) uncompress.flush(); + } else { + responseData.contentText = cast(string) responseData.content; } done: