Skip to content
This repository was archived by the owner on Mar 18, 2019. It is now read-only.

Fix null contentType in negotiateDecoder#37

Merged
lovelydinosaur merged 1 commit into
core-api:masterfrom
ruipgil:master
Oct 5, 2017
Merged

Fix null contentType in negotiateDecoder#37
lovelydinosaur merged 1 commit into
core-api:masterfrom
ruipgil:master

Conversation

@ruipgil
Copy link
Copy Markdown
Contributor

@ruipgil ruipgil commented May 15, 2017

If the content type is null the default decoder is not returned, giving TypeError: Cannot read property 'toLowerCase' of null.

@audiolion
Copy link
Copy Markdown

audiolion commented Jun 21, 2017

ping @tomchristie , looks like this PR also might fix a critical bug with not being able to issue DELETE's through CoreAPI/restframework that I referenced above

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.

3 participants