We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43ae56f commit b7febdaCopy full SHA for b7febda
1 file changed
source/h1_encoder.c
@@ -297,9 +297,7 @@ int aws_h1_encoder_message_init_from_request(
297
if (!aws_http_headers_has(headers, aws_byte_cursor_from_c_str("Content-Length")) &&
298
!aws_http_headers_has(headers, aws_byte_cursor_from_c_str("Transfer-Encoding"))) {
299
if (aws_http_headers_add(
300
- headers,
301
- aws_byte_cursor_from_c_str("Transfer-Encoding"),
302
- aws_byte_cursor_from_c_str("chunked"))) {
+ headers, aws_byte_cursor_from_c_str("Transfer-Encoding"), aws_byte_cursor_from_c_str("chunked"))) {
303
goto error;
304
}
305
0 commit comments