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.
Request::get_status()/Request::set_status()/Request::with_status()currently work with the enumMethod, 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
PURGEverb 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.