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

Remove mime-type validation. At least browser clients don't seem to s… #48

Merged
merged 1 commit into from
Dec 1, 2015

Conversation

anuraaga
Copy link
Collaborator

@anuraaga anuraaga commented Dec 1, 2015

…et this in a very predictable way, meaning currently browsers cannot use a TJSON endpoint.

It should be reasonable to assume that server/client set their default serialization format appropriately when mime-types are not recognizable and otherwise there'll be decode/encode errors which can clue into the mismatch (this was the behavior before we added content-type detection).

…et this in a very predictable way, meaning currently browsers cannot use a TJSON endpoint.
trustin added a commit that referenced this pull request Dec 1, 2015
Remove mime-type validation. At least browser clients don't seem to s…
@trustin trustin merged commit b3f5d6f into line:master Dec 1, 2015
@trustin trustin added the defect label Dec 1, 2015
@trustin trustin added this to the 0.5.1.Final milestone Dec 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants