HTTP client: Simplify HTTP file uploads and submitting forms
還沒有人認領這個 Issue。
評估
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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 👍
- 主要語言
- PHP
- 星號
- 781
- 分支
- 166
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
reactphp/http 的其他 Issue
-
bug
難度 3/5 1-2 天 新手友好度 76/100
-
bug
難度 3/5 1-2 天 新手友好度 35/100
-
maintenance
難度 5/5 一週以上 新手友好度 20/100
-
new feature
難度 4/5 3-5 天 新手友好度 48/100
-
new feature
難度 4/5 3-5 天 新手友好度 35/100
相似的 Issue
-
sync-en
難度 1/5 1-3 小時 新手友好度 85/100
-
sync-en
難度 1/5 1-3 小時 新手友好度 85/100
-
Перевод устарел
難度 1/5 1-3 小時 新手友好度 78/100
-
難度 1/5 1 小時以內 新手友好度 90/100
-
難度 2/5 1-3 小時 新手友好度 85/100