void function ( ) { if ( contentLength != - 1 ) { headers . removeAll ( "srini_string" ) ; contentLength = - 1 ; } }
remove the content-length headers . call this when dropping the body on a request or response , such as when a redirect changes the method from post to get . concode_field_sep boolean onlyIfCached concode_elem_sep RawHeaders headers concode_elem_sep String transferEncoding concode_elem_sep String acceptEncoding concode_elem_sep String proxyAuthorization concode_elem_sep int maxStaleSeconds concode_elem_sep long contentLength concode_elem_sep String userAgent concode_elem_sep String ifModifiedSince concode_elem_sep URI uri concode_elem_sep int maxAgeSeconds concode_elem_sep String ifNoneMatch concode_elem_sep boolean hasAuthorization concode_elem_sep boolean noCache concode_elem_sep String host concode_elem_sep String connection concode_elem_sep int minFreshSeconds concode_elem_sep String contentType concode_field_sep void setIfModifiedSince concode_elem_sep String getAcceptEncoding concode_elem_sep void setContentLength concode_elem_sep void setConnection concode_elem_sep boolean hasConnectionClose concode_elem_sep String buildCookieHeader concode_elem_sep String getIfNoneMatch concode_elem_sep void setAcceptEncoding concode_elem_sep void addCookies concode_elem_sep boolean isNoCache concode_elem_sep String getConnection concode_elem_sep boolean isChunked concode_elem_sep int getMaxAgeSeconds concode_elem_sep void setContentType concode_elem_sep String getHost concode_elem_sep String getIfModifiedSince concode_elem_sep int getMaxStaleSeconds concode_elem_sep String getTransferEncoding concode_elem_sep void setHost concode_elem_sep RawHeaders getHeaders concode_elem_sep void setChunked concode_elem_sep void setUserAgent concode_elem_sep String getProxyAuthorization concode_elem_sep long getContentLength concode_elem_sep boolean hasConditions concode_elem_sep boolean hasAuthorization concode_elem_sep void setIfNoneMatch concode_elem_sep int getMinFreshSeconds concode_elem_sep String getUserAgent concode_elem_sep String getContentType concode_elem_sep URI getUri concode_elem_sep boolean isOnlyIfCached