Skip to content
This repository has been archived by the owner on Jul 10, 2022. It is now read-only.

Change content-type for Packages and Release files to text/plain #83

Merged
merged 1 commit into from
Jun 19, 2015

Conversation

rmldsky
Copy link

@rmldsky rmldsky commented Jun 17, 2015

This will solve the issue #78 . I saw similar change for content-types were done previously in PR #28, not sure when it got lost. Also I have used UTF-8 instead us-ascii as ASCII is a sub-set of UTF-8 anyway, plus it might be that maintainer name can include some special characters (ą, ł, ę, etc.). But if I am missing something here I might set it to ASCII. I have tested in on S3 bucket and works as expected (files display in the browser instead of being downloaded).

@rmldsky
Copy link
Author

rmldsky commented Jun 17, 2015

I dug deeper to discover this: 6c825e9 not sure what was the UTF-8 issue then. If you remember and can check/confirm if my PR does not introduce it back it would be great. Might be that charset=UTF-8 is the right choice here after all.

@krobertson
Copy link
Owner

Thanks!

krobertson added a commit that referenced this pull request Jun 19, 2015
Change content-type for Packages and Release files to text/plain
@krobertson krobertson merged commit e86ab4d into krobertson:master Jun 19, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants