Skip to content
Myr

Fix missing space in error message

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Matthew Carruth · committed by Matthew Carruth · parent 839a8ed · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/requests/utils.py+1 added-1 removed
1049 unmodified lines
10501051 if not validator.match(header_part):1052 header_kind = "name" if header_validator_index == 0 else "value"1053 raise InvalidHeader(1054 f"Invalid leading whitespace, reserved character(s), or return"1054 f"Invalid leading whitespace, reserved character(s), or return "1055 f"character(s) in header {header_kind}: {header_part!r}"1056 )10571058
33 unmodified lines