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.

Waitangi," presented simultaneously in the original Maori and Englishversions, would call <strong>for</strong>Content-Language: mi, enHowever, just because multiple languages are present within an entitydoes not mean that it is intended <strong>for</strong> multiple linguistic audiences.An example would be a beginner's language primer, such as "A FirstLesson in Latin," which is clearly intended to be used by anEnglish-literate audience. In this case, the Content-Language wouldproperly only include "en".Content-Language MAY be applied to any media type -- it is notlimited to textual documents.14.13 Content-LengthThe Content-Length entity-header field indicates the size of theentity-body, in decimal number of OCTETs, sent to the recipient or,in the case of the HEAD method, the size of the entity-body thatwould have been sent had the request been a GET.Content-Length= "Content-Length" ":" 1*DIGITAn example isContent-Length: 3495Applications SHOULD use this field to indicate the transfer-length ofthe message-body, unless this is prohibited by the rules in section4.4.<strong>Fielding</strong>, et al. Standards Track [Page 119]RFC <strong>2616</strong> HTTP/1.1 June 1999Any Content-Length greater than or equal to zero is a valid value.Section 4.4 describes how to determine the length of a message-bodyif a Content-Length is not given.Note that the meaning of this field is significantly different fromthe corresponding definition in MIME, where it is an optional fieldused within the "message/external-body" content-type. In HTTP, itSHOULD be sent whenever the message's length can be determined priorto being transferred, unless this is prohibited by the rules insection 4.4.

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

Saved successfully!

Ooh no, something went wrong!