I am retrieving an image blob from an azure blob server. It works fine when accessing it through browser but when using the remote url upload for an image I get:
error 505: The HTTP version specified is not supported for this operation by the server.

Now the catch is that I am not sure if the issue should be handled by remote stream wrapper or drupal core. I narrowed down the issue to drupal_http_request which sends the request using the HTTP/1.0 protocol which the server seems to dislike. As a test I removed the protocol from the request and it worked fine. Obviously I do not want to hack core to make the protocol optional so I was hoping someone else had a similar case.

On that note I don't want to hack remote stream wrapper but the one option I have is ignore a 505 error and let the request go through without error...which works fine.

Any suggestions? Worth noting that I do not have control over the server hosting the images so there is nothing I can do on that end.

Thanks