HTTP client: Simplify HTTP file uploads and submitting forms
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 25/100
Direção de pesquisa
No implementation files, tests, or entry points are named. Start by evaluating the client API options described in the issue, including the server-side references (#252, #220, #226) and experimental reactphp/filesystem; done means an agreed API for forms and file uploads with a viable non-blocking filesystem approach.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
This library should provide better support for HTTP file uploads and submitting forms. Right now, both are supported just fine, but require manually constructing the outgoing HTTP request body. This is relatively easy for simple forms (see https://github.com/reactphp/http#post), but more challenging for forms with file uploads.
Handling file uploads is already supported on the server side (see #252, #220, #226 and others), so adding better support for this also on the client side makes a lot of sense. Implementing this is non-trivial, but doable. The major challenge right now would be evaluating possible API options and once settled, sponsoring/funding for this feature.
On top of this, we would have to consider possible API options for adding file uploads. In particular, non-blocking filesystem access remains challenging (fstat + fopen + fread), see also experimental reactphp/filesystem.
We welcome contributions, reach out if you want to support this project 👍
- 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
-
new feature
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/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