Created
January 10, 2018 19:23
-
-
Save mandel-macaque/ffdba7584934ecab9bf273f4872ac632 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var url = new NSUrl("http://rss.art19.com/episodes/439bd7ab-177b-4552-a102-eca19b7e50fd.mp3"); | |
var headers = new NSMutableDictionary(); | |
var request = new NSMutableUrlRequest(url); | |
headers.SetValueForKey(new NSString("audio/mpeg; charset=utf-8"), new NSString("Content-Type")); | |
request.Headers = headers; | |
downloadTask = session.CreateDownloadTask(request); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment