@@ -2271,8 +2271,8 @@ H1_CLIENT_TEST_CASE(h1_client_response_get_headers) {
22712271 & tester .testing_channel ,
22722272 "HTTP/1.1 308 Permanent Redirect\r\n"
22732273 "Date: Fri, 01 Mar 2019 17:18:55 GMT\r\n"
2274- "Content-Length: 0\r\n"
22752274 "Location: /index.html\r\n"
2275+ "Content-Length: 0\r\n"
22762276 "\r\n" ));
22772277
22782278 testing_channel_drain_queued_tasks (& tester .testing_channel );
@@ -2281,9 +2281,10 @@ H1_CLIENT_TEST_CASE(h1_client_response_get_headers) {
22812281 ASSERT_TRUE (stream_tester .complete );
22822282 ASSERT_INT_EQUALS (AWS_ERROR_SUCCESS , stream_tester .on_complete_error_code );
22832283 ASSERT_INT_EQUALS (308 , stream_tester .response_status );
2284- ASSERT_UINT_EQUALS (2 , aws_http_headers_count (stream_tester .response_headers ));
2284+ ASSERT_UINT_EQUALS (3 , aws_http_headers_count (stream_tester .response_headers ));
22852285 ASSERT_SUCCESS (s_check_header (stream_tester .response_headers , 0 , "Date" , "Fri, 01 Mar 2019 17:18:55 GMT" ));
22862286 ASSERT_SUCCESS (s_check_header (stream_tester .response_headers , 1 , "Location" , "/index.html" ));
2287+ ASSERT_SUCCESS (s_check_header (stream_tester .response_headers , 2 , "Content-Length" , "0" ));
22872288 ASSERT_UINT_EQUALS (0 , stream_tester .response_body .len );
22882289
22892290 /* clean up */
0 commit comments