Home | History | Annotate | Download | only in entity

Lines Matching refs:HTTP

2  * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/impl/entity/StrictContentLengthStrategy.java $
15 * http://www.apache.org/licenses/LICENSE-2.0
28 * <http://www.apache.org/>.
32 package org.apache.http.impl.entity;
34 import org.apache.http.Header;
35 import org.apache.http.HttpException;
36 import org.apache.http.HttpMessage;
37 import org.apache.http.HttpVersion;
38 import org.apache.http.ProtocolException;
39 import org.apache.http.entity.ContentLengthStrategy;
40 import org.apache.http.protocol.HTTP;
46 * <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec4.4">Section 4.4</a>,
47 * <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.6">Section 3.6</a>,
48 * <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.41">Section 14.41</a>
49 * and <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec14.13">Section 14.13</a>
50 * of <a href="http://www.w3.org/Protocols/rfc2616/rfc2616.txt">RFC 2616</a>
100 * For compatibility with HTTP/1.0 applications, HTTP/1.1 requests containing a message-body
101 * MUST include a valid Content-Length header field unless the server is known to be HTTP/1.1
107 * <p>All HTTP/1.1 applications that receive entities MUST accept the "chunked" transfer-coding
131 * All transfer-coding values are case-insensitive. HTTP/1.1 uses transfer-coding values in
185 throw new IllegalArgumentException("HTTP message may not be null");
190 Header transferEncodingHeader = message.getFirstHeader(HTTP.TRANSFER_ENCODING);
191 Header contentLengthHeader = message.getFirstHeader(HTTP.CONTENT_LEN);
194 if (HTTP.CHUNK_CODING.equalsIgnoreCase(s)) {
201 } else if (HTTP.IDENTITY_CODING.equalsIgnoreCase(s)) {