gonzadocarmo / teamcity-s3-plugin

Apache License 2.0
17 stars 8 forks source link

fix (content-type) : files are now uploaded with content-type #10

Closed pierredeman closed 4 years ago

pierredeman commented 4 years ago

By default, content-type is "binary/octet-stream". On web applications, when accessing a text file with a "binary/octet-stream" instead of "text/plain" content-type, most browsers/clients download files instead of display it.

pierredeman commented 4 years ago

Of course, it's done for detected and undetected content-type. I found no case for IOException.