Skip to content
This repository was archived by the owner on May 10, 2025. It is now read-only.
This repository was archived by the owner on May 10, 2025. It is now read-only.

Should not use GET for Prepare Upload API method. #20

@dmitshur

Description

@dmitshur

See section 9.1.2 of http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html:

Methods can also have the property of "idempotence" in that (aside from error or expiration issues) the side-effects of N > 0 identical requests is the same as for a single request. The methods GET, HEAD, PUT and DELETE share this property.

Prepare Upload has side-effects and calling it multiple times should always return different output.

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