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

Fetch default content type #23

Open
jcf120 opened this issue Jan 13, 2017 · 3 comments
Open

Fetch default content type #23

jcf120 opened this issue Jan 13, 2017 · 3 comments

Comments

@jcf120
Copy link
Collaborator

jcf120 commented Jan 13, 2017

Alex is pushing for default 'Content-type': 'text/plain' for the sake of removing options requests. Networking's a bit voodoo to me, reckon it's safe? Sounds like it might be the norm:
https://geonet.esri.com/thread/8170

@shortercode
Copy link
Owner

shortercode commented Jan 13, 2017 via email

@jcf120
Copy link
Collaborator Author

jcf120 commented Jan 16, 2017

Okey doke, I'll just add

Doom.fetch.DEFAULTS.headers['Content-type'] = 'application/json';

to the top of paddock, and change Doom's internal one to text/plain.

@jcf120
Copy link
Collaborator Author

jcf120 commented Jan 16, 2017

Done: 94fbe6e

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

No branches or pull requests

2 participants