or Create a profile
19 Apr, 2015 05:20 PM
We plan to use Azure Blob Deployment to push our static assets
to our CDN. We found that it is possible to unzip an artifact using
unizp: true which is awesome. However the default
content type of a blob is always
application/octet-stream. It whould be nice to add a
flag like set_content_type: true that would set the
content type based on the file extension.
If you have any ideas of a workaround for now it would be also
on 19 Apr, 2015 06:03 PM
Yes, currently AppVeyor doesn't set content type of uploaded
blob. The only workaround there could be your own PS script (or C#
modifying uploaded blobs
We can add support for set_content_type and deploy
next week. MimeMapping
can be used to translate extensions into MIME types.
on 19 Apr, 2015 08:32 PM
Cool, that would be nice to have the
set_content_type flag but for now I wrote a very basic
.exe that does the trick.
Here is the Github repository containing the executable
on 20 Apr, 2015 12:41 AM
Nice! I was sure MimeMapping is
pretty outdated :)
on 21 Jun, 2016 06:55 PM
Any plans for set_content_type or the like? I
create some svg badges as artifacts during build, but embeding them
doesn't work because of application/octet-stream.
on 21 Jun, 2016 07:06 PM
set_content_type is already supported.
on 21 Jun, 2016 07:10 PM
How can I use that for build artifacts? I'm trying to embed a
on 21 Jun, 2016 07:57 PM
Figured it out already. Deploying artifacts to azure now.
on 23 Aug, 2016 11:54 PM
I've been using the set_content_type option which is great, however it doesn't work for some of the popular font mime types.
Is this mime type mapping managed by AppVeyor and if so would it be possible to add the mime mappings for popular font types, specifically;
.woff2 - font/woff2
.otf - font/otf
If not I'll need to look at doing it via powershell but it seems like a pain to do
on 24 Aug, 2016 06:15 PM
we can add a mapping for .woff2, but there is
already a mapping for .otf but it's mapped to
application/font-sfnt (is that correct?)
Formatting help /
(switch to plain text)
(switch to Markdown)
You can attach files up to 10MB
If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.
A conversation has been started with the AppVeyor staff to resolve this discussion.
This discussion is private.
Only you and AppVeyor support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
You can use Command ⌘ instead of Control ^ on Mac
Powered by Tender™.