`POST /proxy/mockRequest` returns 202 after the request has completed

Chiusa
#1,972 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Una pull request collegata è già stata integrata.

  • #1991 di @waldekmastykarz — integrata

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
csharp
Ambito
api

Direzione di ricerca

Read DevProxy/ApiControllers/ProxyController.cs at the linked lines and compare the endpoint's response with the documented status in proxy-api.md. Decide whether 200 OK or 204 No Content matches the completed request, then update the response and check the endpoint documentation. An open linked pull request already addresses this issue.

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

Descrizione

Description

POST /proxy/mockRequest returns 202 Accepted, but the mock request has already been processed when the response is sent. 202 means "accepted for later processing". The docs (proxy-api.md) show 202, so changing it is a breaking change.

Code:

Expected behavior

The endpoint returns 200 OK or 204 No Content.

Lingua principale
C#
Stelle
838
Fork
90
Merge medio
2g 11h
PR unite (30g)
62

Preparare l'ambiente

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 dotnet/dev-proxy

Tutte le issue di dotnet/dev-proxy

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.