Fetch_file_contents: Specify custom header

I’d like to be able to specify a custom header in HTTP requests done via fetch_file_contents, specifically to add an “Accept” HTTP header.

Also, seeing the response headers would be nice, e.g. to check the content type I got back.

make your own wrapper then