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.

$resource: allow body in HTTP delete. #12747

Closed
@jpprins1

Description

@jpprins1

In resource.js:
520: var hasBody = /^(POST|PUT|PATCH)$/i.test(action.method);

Maybe also add DELETE?
($http supports delete with body)

Note: As far as I could find it looks like it's unclear (RFC) if body should be accepted for delete, but I needed this for an external API.

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