Skip to content

Method needs to work with nonstandard verbs #88

@harmony7

Description

@harmony7

Request::get_status() / Request::set_status() / Request::with_status() currently work with the enum Method, but this needs to be possible to treat as a string to support nonstandard HTTP verbs.

With Fastly, it is a common use case to check for the PURGE verb in Compute to detect those requests and send them directly through the readthrough cache which handles that verb.

One potential way to handle this is to change these functions to take string and change the enum to string constants.

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