Allow set http headers for drupal_http_request on configuration form. In my case, I need to disallow direct URL access to images on production site with code in .htaccess similar to
# Disallow direct URL access to images.
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?example.com [NC]
RewriteRule .*\.(jpg|jpeg|png|gif)$ - [NC,F,L]
But I still want to load images from production to local machine. So, I'd like to set Referer header for the request.
Fixed
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.