HTTP client: Add last effective URI of redirected requests to response
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- php
- Ambito
- networking
Direzione di ricerca
Start by reviewing the HTTP client’s redirect handling and how the final request URI is currently retained. Read the linked ReactPHP Buzz and Guzzle discussions for context, then determine an approach that exposes the last effective URI without modifying PSR ResponseInterface. Done means callers can retrieve the final URI after redirects through a clear library API.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hello, i am trying to get the last URI in a redirect sequence, this uri is available in the request object but there is no way to getting out at the moment in a easy way.
To give context i will try to point the times that this problem has been mentioned:
-
clue/reactphp-buzz explainig the problem https://github.com/clue/reactphp-buzz/issues/129
-
guzzle fix of the problem https://github.com/guzzle/guzzle/issues/1166
I wonder what approach to take in this library, i dont think is clever to modify the Psr ResponseInterface, so i am open to suggestions, thanks great code 👍
- Lingua principale
- PHP
- Stelle
- 781
- Fork
- 166
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di reactphp/http
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 76/100
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Roadmap to reactphp/http v3 Apertamaintenance
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
-
new feature
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
help wanted new feature
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Tutte le issue di reactphp/http
Issue simili
-
priority: p3
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
googleapis/librarian#7636 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
phpstan/phpstan-doctrine#794 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
SocialiteProviders/Providers#1493 ·