StreamingKit
StreamingKit copied to clipboard
Support adding custom HTTP headers to the request
I'd like to be able to stream music from sources that require custom HTTP authorization headers. It would be really great if StreamingKit would expose an overload that would let me a supply a URL and a dictionary of key/value pairs to be used as HTTP headers in the request StreamingKit makes.
You would then be able to stream media that requires OAuth for example.
This would be a great add on. +1
In the mean time, It's really easy to do with an NSURLProtocol subclass. You can intercept the request and set the headers.
+1
@flagoworld hey flago, can you expand on this and give an explanation of how this is done?