Open lovasoa opened 4 years ago
Why not be even better and detect content type? That's how csexton/release-asset-action works.
Possible dup of #7.
I'd use application/octet-stream
, it is a safe default to push a file 1:1 binary wise. Avoids complexity and should work for everyone.
It would be nice if the content-type were not mandatory, using
application/octet-stream
as a default value. This is the content-type to use for data of an unknown/unspecified type.