Merge pull request #258 from viniciussanchez/patch-4

Removed warning
This commit is contained in:
Daniele Teti 2019-08-02 17:11:03 +02:00 committed by GitHub
commit 3da3d6c340
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,7 +118,7 @@ begin
Context.Response.Content := '';
lContentStream.Size := 0;
lContentStream.CopyFrom(lMemStream, 0);
Context.Response.RawWebResponse.ContentEncoding := MVC_COMPRESSION_TYPE_AS_STRING[lRespCompressionType];
Context.Response.RawWebResponse.ContentEncoding := string(MVC_COMPRESSION_TYPE_AS_STRING[lRespCompressionType]);
finally
lMemStream.Free;
end;