acceptsAll property

bool acceptsAll

Returns as true if the client's Accept header indicates that it will accept any response content type.

Implementation

bool get acceptsAll => _acceptsAllCache ??= accepts('*/*');