forked from ninenines/cowboy
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Capital "Content-Length" in reply Header
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -866,7 +866,7 @@ reply(Status, Headers, Body, Req=#http_req{ | |
%% We stream the response body for ContentLength bytes. | ||
RespConn = response_connection(Headers, Connection), | ||
{RespType, Req2} = response(Status, Headers, RespHeaders, [ | ||
{<<"content-length">>, integer_to_list(ContentLength)}, | ||
{<<"Content-Length">>, integer_to_list(ContentLength)}, | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
windkit
Author
|
||
{<<"date">>, cowboy_clock:rfc1123()}, | ||
{<<"server">>, <<"Cowboy">>} | ||
|HTTP11Headers], stream, Req), | ||
|
1 comment
on commit 22a4dcf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@windkit I've understood and just remembered we took a measure of s3-clients as follows:
Which is reason of modifying this line Cowboy's issue or S3 client support or other?