Skip to content

Commit

Permalink
Merge pull request #6574 from msea1/matthew/fix_space
Browse files Browse the repository at this point in the history
  • Loading branch information
nateprewitt authored Nov 16, 2023
2 parents 839a8ed + c32b046 commit 9e98a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/requests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ def _validate_header_part(header, header_part, header_validator_index):
if not validator.match(header_part):
header_kind = "name" if header_validator_index == 0 else "value"
raise InvalidHeader(
f"Invalid leading whitespace, reserved character(s), or return"
f"Invalid leading whitespace, reserved character(s), or return "
f"character(s) in header {header_kind}: {header_part!r}"
)

Expand Down

0 comments on commit 9e98a87

Please sign in to comment.