Package org.apache.http.conn.params
Interface ConnConnectionPNames
-
- All Known Subinterfaces:
AllClientPNames
@Deprecated public interface ConnConnectionPNames
Deprecated.(4.1) use customDefaultHttpResponseParser
implementation.Parameter names for HTTP client connections.- Since:
- 4.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MAX_STATUS_LINE_GARBAGE
Deprecated.(4.1) Use customDefaultHttpResponseParser
implementation
-
-
-
Field Detail
-
MAX_STATUS_LINE_GARBAGE
@Deprecated static final java.lang.String MAX_STATUS_LINE_GARBAGE
Deprecated.(4.1) Use customDefaultHttpResponseParser
implementationDefines the maximum number of ignorable lines before we expect a HTTP response's status line.With HTTP/1.1 persistent connections, the problem arises that broken scripts could return a wrong Content-Length (there are more bytes sent than specified). Unfortunately, in some cases, this cannot be detected after the bad response, but only before the next one. So HttpClient must be able to skip those surplus lines this way.
This parameter expects a value of type
Integer
. 0 disallows all garbage/empty lines before the status line. UseInteger.MAX_VALUE
for unlimited number.- See Also:
- Constant Field Values
-
-