Skip to content

Default headers for XHR #18

@dhritzkiv

Description

@dhritzkiv

Perhaps the default headers passed to XHR should be

{
    "Accept": "application/json"
}

I think it makes sense since the model is expecting JSON. I've been otherwise having to add this to ajaxConfig for all my models.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions