accepts property

Map<String, MimeType> accepts

Returns mime types of the response accepted by the client of the HTTP request.

Implementation

Map<String, MimeType> get accepts {
  if (_accepts == null) _parseAccepts();
  return _accepts;
}