On Fri, 2014-05-16 at 16:35 +0300, d_k wrote: > Hello, > > I'm porting some old code that's using httpclient 3 and I'm having some > trouble porting the makeLenient() [0] method call. > > I've managed to identify the properties being set and I ported the ones I > was able to but i'm stuck on setting these properties: > > http.protocol.unambiguous-statusline = false
HC no longer tolerates such violations. One needs to use a custom response message parser to override the default behavior. > http.protocol.strict-transfer-encoding = false Make connections use StrictContentLengthStrategy instead of LaxContentLengthStrategy used by default. > http.protocol.reject-head-body = false HC no longer tolerates responses to HEAD method enclosing an entity. > http.protocol.warn-extra-input = false Use a custom response message parser. > http.protocol.status-line-garbage-limit = 0 > Use a custom response message parser. Hope this helps Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
