You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2019-04-04.08:27:34.368>created_at=<Date2019-04-04.02:45:33.702>labels= ['3.8', '3.7', 'library']
title='http/client.py does not print duplicate header values in debug'updated_at=<Date2019-04-04.08:27:34.367>user='https://github.com/houglum'
This is a follow-up to https://bugs.python.org/issue33365. The fix for that issue (see #6611) added a statement to also print header values, but it does not account for the case where multiple values exist for the same header name, e.g. if my response contained these headers:
The iteration should instead be done using self.headers.items(), which will return the key and value pair to be printed. I'll send a GitHub PR shortly.
New changeset 461c416 by Serhiy Storchaka (Matt Houglum) in branch 'master': bpo-36522: Print all values for headers with multiple values. (GH-12681) 461c416
New changeset 6f9cd14 by Serhiy Storchaka (Miss Islington (bot)) in branch '3.7': bpo-36522: Print all values for headers with multiple values. (GH-12681) (GH-12682) 6f9cd14
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: