11.07.2015 Views

Network Working Group R. Fielding Request for Comments: 2616 ...

Network Working Group R. Fielding Request for Comments: 2616 ...

Network Working Group R. Fielding Request for Comments: 2616 ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

An example process <strong>for</strong> decoding a Chunked-Body is presented inappendix 19.4.6.All HTTP/1.1 applications MUST be able to receive and decode the"chunked" transfer-coding, and MUST ignore chunk-extension extensionsthey do not understand.3.7 Media TypesHTTP uses Internet Media Types [17] in the Content-Type (section14.17) and Accept (section 14.1) header fields in order to provideopen and extensible data typing and type negotiation.media-type = type "/" subtype *( ";" parameter )type = tokensubtype = tokenParameters MAY follow the type/subtype in the <strong>for</strong>m of attribute/valuepairs (as defined in section 3.6).The type, subtype, and parameter attribute names are caseinsensitive.Parameter values might or might not be case-sensitive,depending on the semantics of the parameter name. Linear white space(LWS) MUST NOT be used between the type and subtype, nor between anattribute and its value. The presence or absence of a parameter mightbe significant to the processing of a media-type, depending on itsdefinition within the media type registry.<strong>Fielding</strong>, et al. Standards Track [Page 26]RFC <strong>2616</strong> HTTP/1.1 June 1999Note that some older HTTP applications do not recognize media typeparameters. When sending data to older HTTP applications,implementations SHOULD only use media type parameters when they arerequired by that type/subtype definition.Media-type values are registered with the Internet Assigned NumberAuthority (IANA [19]). The media type registration process isoutlined in RFC 1590 [17]. Use of non-registered media types isdiscouraged.3.7.1 Canonicalization and Text DefaultsInternet media types are registered with a canonical <strong>for</strong>m. Anentity-body transferred via HTTP messages MUST be represented in theappropriate canonical <strong>for</strong>m prior to its transmission except <strong>for</strong>"text" types, as defined in the next paragraph.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!