Dart
dart:io
HttpHeaders
contentType property
contentType
description
contentType
property
Null safety
ContentType
?
contentType
read / write
The
ContentType
of the
contentTypeHeader
header, if any.
Implementation
ContentType? contentType;
Dart
dart:io
HttpHeaders
contentType property
HttpHeaders class
Constructors
HttpHeaders
Properties
chunkedTransferEncoding
contentLength
contentType
date
expires
hashCode
host
ifModifiedSince
persistentConnection
port
runtimeType
Methods
add
clear
forEach
noFolding
noSuchMethod
remove
removeAll
set
toString
value
Operators
operator ==
operator []
Constants
acceptCharsetHeader
acceptEncodingHeader
acceptHeader
acceptLanguageHeader
acceptRangesHeader
accessControlAllowCredentialsHeader
accessControlAllowHeadersHeader
accessControlAllowMethodsHeader
accessControlAllowOriginHeader
accessControlExposeHeadersHeader
accessControlMaxAgeHeader
accessControlRequestHeadersHeader
accessControlRequestMethodHeader
ageHeader
allowHeader
authorizationHeader
cacheControlHeader
connectionHeader
contentEncodingHeader
contentLanguageHeader
contentLengthHeader
contentLocationHeader
contentMD5Header
contentRangeHeader
contentTypeHeader
cookieHeader
dateHeader
entityHeaders
etagHeader
expectHeader
expiresHeader
fromHeader
generalHeaders
hostHeader
ifMatchHeader
ifModifiedSinceHeader
ifNoneMatchHeader
ifRangeHeader
ifUnmodifiedSinceHeader
lastModifiedHeader
locationHeader
maxForwardsHeader
pragmaHeader
proxyAuthenticateHeader
proxyAuthorizationHeader
rangeHeader
refererHeader
requestHeaders
responseHeaders
retryAfterHeader
serverHeader
setCookieHeader
teHeader
trailerHeader
transferEncodingHeader
upgradeHeader
userAgentHeader
varyHeader
viaHeader
warningHeader
wwwAuthenticateHeader
Cookies management controls