Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
When we are behind a proxy, download librairies with wget or curl fails.
Moreover, in alpine, the wget command seems to not support --timeout but only -T option.
Proposed resolution
Using the httpClient service already configured with proxy settings.
Remaining tasks
Change unit tests.
Comment | File | Size | Author |
---|---|---|---|
#2 | 3254902-2.patch | 1.07 KB | jrockowitz |
20211217_webform_lib_ddl_with_httpclient.patch | 2.67 KB | mounir_abid | |
Comments
Comment #2
jrockowitz CreditAttribution: jrockowitz as a volunteer and at Webform module Open Collective, The Big Blue House commentedThanks for the patch. I can't apply it because it was generated from the root of your website and not the webform module's directory.
The entire drush cli service needs to have the Drush 8 backward support layer removed. For now, we don't need to worry about dependency injection.
The attached patch does the trick. Thanks again for the suggestion.