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 http.Error for sending errors #6379

Merged
merged 1 commit into from
May 26, 2019
Merged

fix: use http.Error for sending errors #6379

merged 1 commit into from
May 26, 2019

Conversation

Stebalien
Copy link
Member

This sets a few headers that prevent browsers from misinterpreting the error text.

This sets a few headers that prevent browsers from misinterpreting the error
text.
Copy link
Member Author

@Stebalien Stebalien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"self reviewed" with a fine-toothed comb (I want this in the release).

@Stebalien Stebalien merged commit 2b41ca1 into master May 26, 2019
@Stebalien Stebalien deleted the fix/http-errors branch July 3, 2019 14:11
hacdias pushed a commit to ipfs/boxo that referenced this pull request Jan 27, 2023
fix: use http.Error for sending errors

This commit was moved from ipfs/kubo@2b41ca1
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.

1 participant