mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Merge pull request #3853 from StyXman/500-small-head
Do not convert /o\ into /O\
This commit is contained in:
@@ -87,5 +87,5 @@ codes = LookupDict(name='status_codes')
|
||||
for code, titles in _codes.items():
|
||||
for title in titles:
|
||||
setattr(codes, title, code)
|
||||
if not title.startswith('\\'):
|
||||
if not title.startswith(('\\', '/')):
|
||||
setattr(codes, title.upper(), code)
|
||||
|
||||
Reference in New Issue
Block a user