Skip to content
Myr

Drop NBSP characters (#1389)

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

authored by Tom Christie · committed by GitHub · parent f8f5430 · Browse files · 2 files+2 added−2 removed
This commit

State

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

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:httpx/_models.py+1 added-1 removed
1471 unmodified lines
14721473 def info(self) -> email.message.Message:1474 info = email.message.Message()1475 for key, value in self.response.headers.multi_items():1476 #  Note that setting `info[key]` here is an "append" operation,1476 # Note that setting `info[key]` here is an "append" operation,1477 # not a "replace" operation.1478 # https://docs.python.org/3/library/email.compat32-message.html#email.message.Message.__setitem__1479 info[key] = value1480 return info
modified:httpx/_status_codes.py+1 added-1 removed
137 unmodified lines
138 NOT_EXTENDED = 510, "Not Extended"139 NETWORK_AUTHENTICATION_REQUIRED = 511, "Network Authentication Required"140141142#  Include lower-case styles for `requests` compatibility.142# Include lower-case styles for `requests` compatibility.143for code in codes:144 setattr(codes, code._name_.lower(), int(code))145146
18 unmodified lines