Skip to content

Commit

Permalink
Merge pull request #94 from sswguo/header_setting
Browse files Browse the repository at this point in the history
Add the header Transfer-Encoding into response
  • Loading branch information
sswguo authored Jul 17, 2024
2 parents aac3c14 + 6f94905 commit 1cc5596
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 1cc5596

Please sign in to comment.