acceptsHtml property
bool
get
acceptsHtml
Returns true if the client accepts the response body in HTML format.
Implementation
bool get acceptsHtml => accepts.containsKey(MimeTypes.html);
Returns true if the client accepts the response body in HTML format.
bool get acceptsHtml => accepts.containsKey(MimeTypes.html);