Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Using the HTTP PATCH method with $http results in a "Invalid argument" exception on IE8 #2518

Closed
@saebyn

Description

@saebyn

When passing a config object with a 'PATCH' method to the $http service, an "Invalid argument" exception is thrown in Internet Explorer 8. I've tested with AngularJS version 1.0.5 and this problem seems to be present in the master branch as well.

window.XMLHttpRequest in IE8 doesn't support the PATCH method, but the ActiveX objects do - I'm currently working around this by checking for their availability first and then defaulting back to window.XMLHttpRequest rather than the current behavior which goes in the opposite direction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions