mirror of
https://github.com/danieleteti/delphimvcframework.git
synced 2024-11-16 00:05:53 +01:00
commit
3da3d6c340
@ -118,7 +118,7 @@ begin
|
|||||||
Context.Response.Content := '';
|
Context.Response.Content := '';
|
||||||
lContentStream.Size := 0;
|
lContentStream.Size := 0;
|
||||||
lContentStream.CopyFrom(lMemStream, 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
|
finally
|
||||||
lMemStream.Free;
|
lMemStream.Free;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user