Dart
dart:io
HttpHeaders
contentType property
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
ACCEPT
ACCEPT_CHARSET
ACCEPT_ENCODING
ACCEPT_LANGUAGE
ACCEPT_RANGES
acceptCharsetHeader
acceptEncodingHeader
acceptHeader
acceptLanguageHeader
acceptRangesHeader
AGE
ageHeader
ALLOW
allowHeader
AUTHORIZATION
authorizationHeader
CACHE_CONTROL
cacheControlHeader
CONNECTION
connectionHeader
CONTENT_ENCODING
CONTENT_LANGUAGE
CONTENT_LENGTH
CONTENT_LOCATION
CONTENT_MD5
CONTENT_RANGE
CONTENT_TYPE
contentEncodingHeader
contentLanguageHeader
contentLengthHeader
contentLocationHeader
contentMD5Header
contentRangeHeader
contentTypeHeader
COOKIE
cookieHeader
DATE
dateHeader
ENTITY_HEADERS
entityHeaders
ETAG
etagHeader
EXPECT
expectHeader
EXPIRES
expiresHeader
FROM
fromHeader
GENERAL_HEADERS
generalHeaders
HOST
hostHeader
IF_MATCH
IF_MODIFIED_SINCE
IF_NONE_MATCH
IF_RANGE
IF_UNMODIFIED_SINCE
ifMatchHeader
ifModifiedSinceHeader
ifNoneMatchHeader
ifRangeHeader
ifUnmodifiedSinceHeader
LAST_MODIFIED
lastModifiedHeader
LOCATION
locationHeader
MAX_FORWARDS
maxForwardsHeader
PRAGMA
pragmaHeader
PROXY_AUTHENTICATE
PROXY_AUTHORIZATION
proxyAuthenticateHeader
proxyAuthorizationHeader
RANGE
rangeHeader
REFERER
refererHeader
REQUEST_HEADERS
requestHeaders
RESPONSE_HEADERS
responseHeaders
RETRY_AFTER
retryAfterHeader
SERVER
serverHeader
SET_COOKIE
setCookieHeader
TE
teHeader
TRAILER
trailerHeader
TRANSFER_ENCODING
transferEncodingHeader
UPGRADE
upgradeHeader
USER_AGENT
userAgentHeader
VARY
varyHeader
VIA
viaHeader
WARNING
warningHeader
WWW_AUTHENTICATE
wwwAuthenticateHeader
description
contentType
property
Null safety
ContentType
?
contentType
read / write
The
ContentType
of the
contentTypeHeader
header, if any.
Implementation
ContentType? contentType