Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use golang's http.Error to send errors #167

Merged
merged 2 commits into from
May 25, 2019
Merged

Conversation

Stebalien
Copy link
Member

This:

  1. Ensures the correct content type.
  2. Tells browsers not to sniff the content type.

This prevents any nasties from happening...

@Stebalien Stebalien requested a review from keks as a code owner May 25, 2019 02:17
This:

1. Ensures the correct content type.
2. Tells browsers not to sniff the content type.

This prevents any nasties from happening...
@Stebalien Stebalien merged commit 6cc6af6 into master May 25, 2019
@Stebalien Stebalien deleted the fix/http-errors branch May 25, 2019 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants