HTTP client: Add last effective URI of redirected requests to response
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 25/100
- Tipo de issue
- Funcionalidade
- Clareza
- Precisa de esclarecimento
- Status de atividade
- Estagnada
- Stack de tecnologia
- php
- Domínio
- networking
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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 👍
- Linguagem predominante
- PHP
- Estrelas
- 781
- Forks
- 166
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de reactphp/http
-
bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 76/100
-
bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 35/100
-
Roadmap to reactphp/http v3 Abertamaintenance
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 20/100
-
new feature
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
-
help wanted new feature
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
Todas as issues de reactphp/http
Issues semelhantes
-
sync-en
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 85/100
-
sync-en
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 85/100
-
Перевод устарел
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 78/100
-
[6.x]: "Cannot use object of type stdClass as array" loading Users index (regression of #19182) Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 90/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100