|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
DefaultHttpResponseParser
implementation.
@Deprecated public interface ConnConnectionPNames
Parameter names for HTTP client connections.
Field Summary | |
---|---|
static String |
MAX_STATUS_LINE_GARBAGE
Deprecated. (4.1) Use custom DefaultHttpResponseParser implementation |
Field Detail |
---|
@Deprecated static final String MAX_STATUS_LINE_GARBAGE
DefaultHttpResponseParser
implementationWith 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.
Use Integer.MAX_VALUE
for unlimited number.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |