Open request in Safari with custom HTTP headers

I have some media files on the server that are designed to not publish them. They require a custom HTTP header in the request, otherwise the server will simply redirect the 404 page.

I can easily customize this custom header using UIWebView and NSMutableURLRequest, but I would also like to open the request in Safari. Unfortunately, it seems that the only way to open Safari is to invoke it with a simple URL without the ability to customize the headers.

Does anyone know if there is a way to open a request in Safari with custom HTTP headers?

Thank.

+5
source share
1 answer

.

HTML-, , , , XMLHttpRequest.setRequestHeader(), HTTP-.

, URL- , , .

+2

All Articles