![]() |
Thoth
A functional, expressive, asynchronous C++26 webdev library
|
The HTTP methods requirements following RFC9110. More...
#include <MethodConcept.hpp>
The HTTP methods requirements following RFC9110.
Canonical methods of HTTP just compare if a request is well-formed with body, but some methods (like "Lock-Token" for LOCK / UNLOCK in WebDAV or RPC's "Content-Type: application/rpc") also needs to validate the headers, so I decided to leave it more generic so a class that satisfies MethodConcept have all the info available to do it validation.