Skip to content
This repository has been archived by the owner on Jun 14, 2019. It is now read-only.

callFetch header handling refactoring needed #351

Open
gashcrumb opened this issue May 24, 2019 · 0 comments
Open

callFetch header handling refactoring needed #351

gashcrumb opened this issue May 24, 2019 · 0 comments

Comments

@gashcrumb
Copy link
Collaborator

This is a...


[x] Feature request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Documentation issue or request

Description

callFetch now has several flags that affect what headers are sent to the server like includeContentType and includeAccept etc. I think we should pull all of those out and instead have the code calling callFetch copy the header object and modify it as needed, for example:

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant