Page MenuHomePhabricator

Configure HTTP request options for {{#get_web_data}}
Closed, ResolvedPublic


Add a configuration variable (of the type array) to hold default HTTP request options that will be used in {{#get_web_data}}.

sslVerifyCert and followRedirects fields should override $edgAllowSSL.

Event Timeline

Change 602583 had a related patch set uploaded (by Alex Mashin; owner: mashin):
[mediawiki/extensions/ExternalData@master] Configure HTTP request options for {{#get_web_data}}

Corrected the patch per Yaron Koren's review.

It is strange that the automatic tests have not run.