Skip to content

Commit

Permalink
Don't add Content-Length to expected headers for HTTP2
Browse files Browse the repository at this point in the history
Since PR2243 we don't add Content-Length to headers. Change tests
accordingly.
  • Loading branch information
ai-tmpst committed Nov 2, 2024
1 parent dbf0706 commit 0229dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/deproxy_auto_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def __prepare_expected_response_for_request(
if http2 or is_cache:
self.__prepare_chunked_expected_response(expected_response)

if not http2 or is_cache:
if not http2:
self.__add_content_length_header_to_expected_response(expected_response)

return expected_response
Expand Down

0 comments on commit 0229dbf

Please sign in to comment.