
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2019-04-04 02:45 byhouglum, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 12681 | merged | python-dev,2019-04-04 03:41 | |
| PR 12682 | merged | miss-islington,2019-04-04 04:37 | |
| Messages (4) | |||
|---|---|---|---|
| msg339424 -(view) | Author: Matt Houglum (houglum)* | Date: 2019-04-04 02:45 | |
This is a follow-up tohttps://bugs.python.org/issue33365. The fix for that issue (seehttps://github.com/python/cpython/pull/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:x-goog-hash: crc32c=KAwGng==x-goog-hash: md5=eB5eJF1ptWaXm4bijSPyxw==then the debug output would print whichever of those values is returned from `self.headers.get("x-goog-hash")` for both prints:header: x-goog-hash: crc32c=KAwGng==header: x-goog-hash: crc32c=KAwGng==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. | |||
| msg339432 -(view) | Author: Serhiy Storchaka (serhiy.storchaka)*![]() | Date: 2019-04-04 04:36 | |
New changeset461c416dd78a98f2bba7f323af8c9738e060b6f2 by Serhiy Storchaka (Matt Houglum) in branch 'master':bpo-36522: Print all values for headers with multiple values. (GH-12681)https://github.com/python/cpython/commit/461c416dd78a98f2bba7f323af8c9738e060b6f2 | |||
| msg339435 -(view) | Author: Serhiy Storchaka (serhiy.storchaka)*![]() | Date: 2019-04-04 08:26 | |
New changeset6f9cd142a20d0d2a5825a9db376ce0ddf1933694 by Serhiy Storchaka (Miss Islington (bot)) in branch '3.7':bpo-36522: Print all values for headers with multiple values. (GH-12681) (GH-12682)https://github.com/python/cpython/commit/6f9cd142a20d0d2a5825a9db376ce0ddf1933694 | |||
| msg339436 -(view) | Author: Serhiy Storchaka (serhiy.storchaka)*![]() | Date: 2019-04-04 08:27 | |
3.6 take only security bugs fixes now. | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:13 | admin | set | github: 80703 |
| 2019-04-04 08:27:34 | serhiy.storchaka | set | status: open -> closed versions: - Python 3.6 messages: +msg339436 resolution: fixed stage: patch review -> resolved |
| 2019-04-04 08:26:04 | serhiy.storchaka | set | messages: +msg339435 |
| 2019-04-04 04:37:25 | miss-islington | set | pull_requests: +pull_request12610 |
| 2019-04-04 04:36:52 | serhiy.storchaka | set | nosy: +serhiy.storchaka messages: +msg339432 |
| 2019-04-04 03:41:27 | python-dev | set | keywords: +patch stage: patch review pull_requests: +pull_request12608 |
| 2019-04-04 02:45:33 | houglum | create | |