Closed (outdated)
Project:
Drupal core
Version:
11.x-dev
Component:
system.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Jun 2015 at 10:29 UTC
Updated:
3 Jul 2025 at 01:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rogical commentedComment #2
rogical commentedSo that system_retrieve_file can utilize http request options, like cookie.
Comment #3
hibersh commentedComment #4
David_Rothstein commentedIt looks like there's no way to pass options to the \Drupal::httpClient()->get() call in Drupal 8 either, so this would need to be fixed there first.
Comment #10
Michael Zetterberg fd. Lopez commented@rogical @David_Rothstein Passing options to
\Drupal::httpClient()->getis now possible. Attached a patch for 8.5.x-dev.Comment #16
ranjith_kumar_k_u commentedRe-rolled #10 for 9.4
Comment #19
smustgrave commentedThis issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request as a guide.
This needs an issue summary update
Why is this feature request needed?
What is the proposed solution?
Most likely will need test coverage.
Comment #20
punamshelkePatch for D10.2
Comment #22
mstrelan commentedThe
system_retrieve_file()function was deprecated in #3223205: deprecate system_retrieve_file() without replacement and removed in #3425419: [11.x] Remove deprecated code from system module.