urllib2 needs to remove scope from IPv6 address when creating Host header

Offen
#67,636 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
python
Bereich
networking

Rechercherichtung

Start by locating urllib2's Host-header construction for Python 2.7 and trace how IPv6 addresses are handled there. Confirm the expected handling of a scoped IPv6 address, then run the relevant urllib2 library tests. Done means the generated Host header omits the IPv6 scope while preserving the address and port.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

stdlib type-bug
BPO 23448
Nosy @gpshead, @vadmium

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 = None
closed_at = None
created_at = <Date 2015-02-11.18:40:23.810>
labels = ['type-bug', 'library']
title = 'urllib2 needs to remove scope from IPv6 address when creating Host header'
updated_at = <Date 2017-01-26.21:22:28.565>
user = 'https://bugs.python.org/ngierman'

bugs.python.org fields:

activity = <Date 2017-01-26.21:22:28.565>
actor = 'JonathanGuthrie'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2015-02-11.18:40:23.810>
creator = 'ngierman'
dependencies = []
files = []
hgrepos = []
issue_num = 23448
keywords = []
message_count = 3.0
messages = ['235762', '235768', '286334']
nosy_count = 4.0
nosy_names = ['gregory.p.smith', 'martin.panter', 'ngierman', 'JonathanGuthrie']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue23448'
versions = ['Python 2.7']

Vorherrschende Sprache
Python
Sterne
77.2k
Forks
36k
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
558

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus python/cpython

Alle Issues in python/cpython

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.