wsgiref sets Content-Length: 0 on 304 Not Modified

Offen
#62,299 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

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

Rechercherichtung

Start by reviewing the referenced Python issue and the two uploaded patch files, 125e080bbe15.diff and 762d11a72249.diff, along with PR #12955. Confirm the intended wsgiref behavior for a 304 response and verify that the resulting response no longer sets Content-Length to 0.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

stdlib type-bug
BPO 18099
Nosy @pjeby, @pitrou, @bitdancer, @florentx, @csabella
PRs
  • python/cpython#12955
  • Files
  • 125e080bbe15.diff
  • 762d11a72249.diff
  • 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 2013-05-30.10:33:28.815>
    labels = ['type-bug', 'library']
    title = 'wsgiref sets Content-Length: 0 on 304 Not Modified'
    updated_at = <Date 2019-04-25.22:18:27.560>
    user = 'https://github.com/florentx'
    

    bugs.python.org fields:

    activity = <Date 2019-04-25.22:18:27.560>
    actor = 'berker.peksag'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2013-05-30.10:33:28.815>
    creator = 'flox'
    dependencies = []
    files = ['34887', '34888']
    hgrepos = ['235', '236']
    issue_num = 18099
    keywords = ['patch']
    message_count = 3.0
    messages = ['190352', '222146', '317138']
    nosy_count = 5.0
    nosy_names = ['pje', 'pitrou', 'r.david.murray', 'flox', 'cheryl.sabella']
    pr_nums = ['12955']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue18099'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']
    

    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.