HTTP client: Support for handling cookies
まだ誰も着手していません。
評価
調査の方向性
Start by reviewing RFC 6265 and the ReactPHP HTTP client implementation to resolve the proposed cookie-jar design and storage boundaries. Define how enabling, disabling, manual changes, expiration, domain matching, and serialization should work; done means the agreed behavior is implemented and covered by tests.
索引モデルが issue の本文から書いたものです。
説明
While I was trying to port some blocking libcURL code to ReactPHP I found there is no support for handling cookies when using the HTTP client. Inspired by other clients (especially cURL) I propose that the following features should be added:
- compliance with HTTP State Management Mechanism (expiration, send the cookie only to the corresponding domain, etc.)
- cookie support can be enabled/disabled
- cookies can be added/removed manually
- serialization/deserialization to/from a format like Netscape Cookie Jar (ideally this should be decoupled so other formats could be easily added)
As suggested by @WyriHaximus, storing the cookie jar could be done with react/cache which I find totally ok. Saving and loading to/from files could be implemented by the user or we could build something on top of ArrayCache.
After we settle the details of this, I would be happy to implement it :D
- 主要言語
- 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
-
help wanted new feature
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
getgrav/grav-plugin-api#45 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
RSS-Bridge/rss-bridge#5098 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
phingofficial/phing#2025 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
silverstripe/developer-docs#911 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100