python / python/cpython

Add RFC 10008: The HTTP QUERY Method

Aperta
#153,309 2 commenti 2 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

stdlib type-feature
Lingua principale
Python
Stelle
77.2k
Fork
35.9k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

Feature or enhancement

Proposal:

RFC 10008: The HTTP QUERY Method is now a finalized RFC on the Standards track, and the method name has been added to the IANA registry

So let's add it to python httplib too!

from http import HTTPMethod

HTTPMethod.QUERY
<HTTPMethod.QUERY>
HTTPMethod.QUERY == 'QUERY'
True
HTTPMethod.QUERY.description
''Query the target with the request payload.'
Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs
  • gh-153310
  • gh-155786

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.

Direzione di ricerca

Inizia dal punto di ingresso Python HTTPMethod usato nell’esempio e verifica come sono definiti i metodi HTTP esistenti e le relative descrizioni. Aggiungi QUERY con la descrizione specificata, quindi verifica il comportamento mostrato di HTTPMethod.QUERY usando i test pertinenti del progetto. Le PR collegati gh-153310 e gh-155786 indicano che il lavoro è già in corso.

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

Valutazione

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.