X Tutup
Skip to content

feat(http): implement error propagation in XHRBackend #2800

@jeffbcross

Description

@jeffbcross

Currently, the response created in the load event of XMLHttpRequest inside XHRBackend just creates a Response object with the body set, but is not setting the status or statusText properties from the XMLHttpRequest instance. Furthermore, a type of "error" should be set to the response in certain conditions, and should be emitted to the Response observable/stream as an error instead of a value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort1: hoursfeatureLabel used to distinguish feature request from other issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup