Skip to content

Commit

Permalink
Add the header Transfer-Encoding into response
Browse files Browse the repository at this point in the history
  • Loading branch information
sswguo committed Jul 17, 2024
1 parent 4f78d0b commit 0dd16a6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ public void writeExistingTransfer(InputStream txfr, boolean writeBody, Headers h
{
if ( header.getFirst().equalsIgnoreCase( ApplicationHeader.content_length.key() )
|| header.getFirst().equalsIgnoreCase( ApplicationHeader.last_modified.key() )
|| header.getFirst().equalsIgnoreCase( ApplicationHeader.content_type.key() ))
|| header.getFirst().equalsIgnoreCase( ApplicationHeader.content_type.key() )
|| header.getFirst().equalsIgnoreCase( ApplicationHeader.transfer_encoding.key() ))
{
writeHeader(header.getFirst(), header.getSecond());
}
Expand Down

0 comments on commit 0dd16a6

Please sign in to comment.