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

fix(request): Improve json content-type detection #215

Merged
merged 1 commit into from
Feb 21, 2016
Merged

Conversation

dignifiedquire
Copy link
Contributor

js-ipfs serves a content type including the charset
application/json; charset=utf-8 so the previous check for
json failed, resulting in non parsed json.
Fixes https://github.com/ipfs/js-ipfs/pull/69/files#r53560321

js-ipfs serves a content type including the charset
`application/json; charset=utf-8` so the previous check for
json failed, resulting in non parsed json.
Fixes https://github.com/ipfs/js-ipfs/pull/69/files#r53560321
daviddias added a commit that referenced this pull request Feb 21, 2016
fix(request): Improve json content-type detection
@daviddias daviddias merged commit 8d0c912 into master Feb 21, 2016
@daviddias daviddias deleted the fix/json-header branch February 21, 2016 19:15
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