HTTP client: Simplify HTTP file uploads and submitting forms
まだ誰も着手していません。
評価
調査の方向性
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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
reactphp/http のほかの issue
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
maintenance
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
-
new feature
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
new feature
難易度 4/5 3〜5日 初心者へのやさしさ 35/100