Skip to content

Accepting non xml replies to XMLHttpRequests #28

Description

@emirikol

When making an xhr request env-js croaks when receiving a non-xml response regardless of content-type headers.
this can be avoided like this: thatcher@a46fe6b#diff-19

Note: that commit contains one error - checking request headers instead of response headers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions