Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[HttpClient] added CachingHttpClient#30629
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
| $request = Request::create($url, $method); | ||
| $request->attributes->set('http_client_options', $options); | ||
| $request->headers->add($options['headers']); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
You also need to add support for Cookies.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
fixed
9981b83 tof6e4411Comparefabpot commentedMar 23, 2019
Thank you@nicolas-grekas. |
This PR was merged into the 4.3-dev branch.Discussion----------[HttpClient] added CachingHttpClient| Q | A| ------------- | ---| Branch? | master| Bug fix? | no| New feature? | yes| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets | -| License | MIT| Doc PR | -The proposed `CachingHttpClient` uses `HttpCache` from the HttpKernel component to provide an HTTP-compliant cache.If this is accepted, it could replace the corresponding part in#30602Commits-------dae5686 [HttpClient] added CachingHttpClient
The proposed
CachingHttpClientusesHttpCachefrom the HttpKernel component to provide an HTTP-compliant cache.If this is accepted, it could replace the corresponding part in#30602