Constant actix_web::http::header::ALLOW [−][src]
pub const ALLOW: HeaderName=
HeaderName{inner: Repr::Standard(StandardHeader::Allow),}
Lists the set of methods support by a resource.
This header must be sent if the server responds with a 405 Method Not Allowed status code to indicate which request methods can be used. An empty Allow header indicates that the resource allows no request methods, which might occur temporarily for a given resource, for example.