Skip to content
Snippets Groups Projects
Commit 654cdcec authored by Karl Gustav Sterneberg's avatar Karl Gustav Sterneberg
Browse files

Protocols.HTTP.Server.Request: Added http header 'Transfer-Encoding'.

parent 1d4255de
No related branches found
No related tags found
No related merge requests found
...@@ -571,6 +571,7 @@ Stdio.IOBuffer low_make_response_header(mapping m, Stdio.IOBuffer res) ...@@ -571,6 +571,7 @@ Stdio.IOBuffer low_make_response_header(mapping m, Stdio.IOBuffer res)
radd("Content-Range: bytes ", m->start,"-",m->stop,"/",m->size); radd("Content-Range: bytes ", m->start,"-",m->stop,"/",m->size);
radd("Content-Type: ",m->type); radd("Content-Type: ",m->type);
radd("Transfer-Encoding: ", m->transfer_encoding);
if( m->size >= 0 ) if( m->size >= 0 )
radd("Content-Length: ",(string)m->size); radd("Content-Length: ",(string)m->size);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment