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.

HTTP 201 Created is not handled  #7037

@okigan

Description

@okigan

This is similar to #2572, but with different fix proposal:

Per the HTTP spec POST request returns '201 Created' with URI for the resource in the "Location" header field.

Right now this situation is not handled by $resource factory. Also the location property is invaluable to get updated state of the resource.

So propose to make the "Location" property available from the $resource service.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions