Content-length is incorrect when request body is a list or tuple

Aperta
#67,539 22 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
api

Direzione di ricerca

Start by reading list_content_length_3.patch, then compare it with list_content_length.patch, list_content_length_1.patch, and list_content_length_2.patch. Trace the affected library request handling and verify that Content-Length is correct for list and tuple request bodies, with regression coverage if the existing tests identify a suitable location.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

stdlib type-bug
BPO 23350
Nosy @orsenthil, @bitdancer, @berkerpeksag, @vadmium, @serhiy-storchaka, @demianbrecht
Files
  • list_content_length.patch
  • list_content_length_1.patch
  • list_content_length_2.patch
  • list_content_length_3.patch
  • 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-01-30.01:12:42.088>
    labels = ['type-bug', 'library']
    title = 'Content-length is incorrect when request body is a list or tuple'
    updated_at = <Date 2015-04-14.15:48:37.310>
    user = 'https://github.com/demianbrecht'
    

    bugs.python.org fields:

    activity = <Date 2015-04-14.15:48:37.310>
    actor = 'Pinz'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2015-01-30.01:12:42.088>
    creator = 'demian.brecht'
    dependencies = []
    files = ['37913', '37915', '38125', '38130']
    hgrepos = []
    issue_num = 23350
    keywords = ['patch']
    message_count = 22.0
    messages = ['235012', '235019', '235022', '235068', '235075', '235876', '235879', '235893', '235949', '238825', '238848', '238938', '238939', '238954', '238963', '239763', '239764', '240563', '240611', '240760', '240840', '240917']
    nosy_count = 7.0
    nosy_names = ['orsenthil', 'r.david.murray', 'berker.peksag', 'martin.panter', 'serhiy.storchaka', 'demian.brecht', 'Pinz']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue23350'
    versions = ['Python 3.5']
    

    Lingua principale
    Python
    Stelle
    77.2k
    Fork
    36k
    Merge medio
    1g 9h
    PR unite (30g)
    558

    Guida per i contributori

    Apri la guida per i contributori

    Come iniziare

    1. Leggi tutta la issue e poi la guida ai contributi del progetto.
    2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
    3. Fai un fork del repository e lavora su un branch.
    4. Apri una pull request che faccia riferimento al numero della issue.

    Altre issue di python/cpython

    Tutte le issue di python/cpython

    Issue simili

    Altre issue su Python

    Ricevi le nuove issue nella tua casella

    Un breve riepilogo di issue GitHub adatte ai principianti.