{"action":"created","issue":{"url":"https://api.github.com/repos/ShareX/ShareX/issues/2352","repository_url":"https://api.github.com/repos/ShareX/ShareX","labels_url":"https://api.github.com/repos/ShareX/ShareX/issues/2352/labels{/name}","comments_url":"https://api.github.com/repos/ShareX/ShareX/issues/2352/comments","events_url":"https://api.github.com/repos/ShareX/ShareX/issues/2352/events","html_url":"https://github.com/ShareX/ShareX/issues/2352","id":213016458,"number":2352,"title":"[Azure] Set blob content-type headers","user":{"login":"Scrxtchy","id":12771982,"avatar_url":"https://avatars1.githubusercontent.com/u/12771982?v=3","gravatar_id":"","url":"https://api.github.com/users/Scrxtchy","html_url":"https://github.com/Scrxtchy","followers_url":"https://api.github.com/users/Scrxtchy/followers","following_url":"https://api.github.com/users/Scrxtchy/following{/other_user}","gists_url":"https://api.github.com/users/Scrxtchy/gists{/gist_id}","starred_url":"https://api.github.com/users/Scrxtchy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scrxtchy/subscriptions","organizations_url":"https://api.github.com/users/Scrxtchy/orgs","repos_url":"https://api.github.com/users/Scrxtchy/repos","events_url":"https://api.github.com/users/Scrxtchy/events{/privacy}","received_events_url":"https://api.github.com/users/Scrxtchy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-09T11:59:50Z","updated_at":"2017-03-09T12:38:59Z","closed_at":null,"body":"These should be handled so that files/blobs are delivered with the correct headers, instead of application/octet-stream\r\nCurrent Azure Maintainer is @wi5nia \r\n\r\nAccording to the docs, this should be fixed by adding the `Content-Type` to the header of the `Put Blob` request to the storage container\r\nhttps://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/put-blob\r\n`requestHeaders[\"Content-Type\"] = Helpers.GetMimeType(fileName);`\r\ncould be an adequate fix, this also requires adding the HelpersLib to the file"},"comment":{"url":"https://api.github.com/repos/ShareX/ShareX/issues/comments/285340496","html_url":"https://github.com/ShareX/ShareX/issues/2352#issuecomment-285340496","issue_url":"https://api.github.com/repos/ShareX/ShareX/issues/2352","id":285340496,"user":{"login":"wi5nia","id":12593852,"avatar_url":"https://avatars1.githubusercontent.com/u/12593852?v=3","gravatar_id":"","url":"https://api.github.com/users/wi5nia","html_url":"https://github.com/wi5nia","followers_url":"https://api.github.com/users/wi5nia/followers","following_url":"https://api.github.com/users/wi5nia/following{/other_user}","gists_url":"https://api.github.com/users/wi5nia/gists{/gist_id}","starred_url":"https://api.github.com/users/wi5nia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wi5nia/subscriptions","organizations_url":"https://api.github.com/users/wi5nia/orgs","repos_url":"https://api.github.com/users/wi5nia/repos","events_url":"https://api.github.com/users/wi5nia/events{/privacy}","received_events_url":"https://api.github.com/users/wi5nia/received_events","type":"User","site_admin":false},"created_at":"2017-03-09T12:38:59Z","updated_at":"2017-03-09T12:38:59Z","body":"It's an optional parameter so it can but doesn't have to be this way :) I will add this together with support for custom domain."}}
{"actor":{"display_login":"wi5nia"}}