Searched refs:CONTENT_LENGTH (Results 1 – 12 of 12) sorted by relevance
48 public static final String CONTENT_LENGTH = "Content-Length: "; field in HttpPostRequestTest80 … contentLength = size + contentLengthHeaderValueSize + HttpPostRequestTest.CONTENT_LENGTH.length(); in preparePostWithMultipartForm()81 …String input = header + HttpPostRequestTest.CONTENT_LENGTH + (contentLength + 5) + "\r\n\r\n" + co… in preparePostWithMultipartForm()125 … contentLength = size + contentLengthHeaderValueSize + HttpPostRequestTest.CONTENT_LENGTH.length(); in testPostWithMultipleMultipartFormFields()126 …String input = header + HttpPostRequestTest.CONTENT_LENGTH + (contentLength + 4) + "\r\n\r\n" + co… in testPostWithMultipleMultipartFormFields()144 … contentLength = size + contentLengthHeaderValueSize + HttpPostRequestTest.CONTENT_LENGTH.length(); in testPostWithMultipleMultipartFormFieldsWhereContentTypeWasSeparatedByComma()145 …String input = header + HttpPostRequestTest.CONTENT_LENGTH + (contentLength + 4) + "\r\n\r\n" + co… in testPostWithMultipleMultipartFormFieldsWhereContentTypeWasSeparatedByComma()162 … contentLength = size + contentLengthHeaderValueSize + HttpPostRequestTest.CONTENT_LENGTH.length(); in testSimplePostWithSingleMultipartFormField()163 …String input = header + HttpPostRequestTest.CONTENT_LENGTH + (contentLength + 4) + "\r\n\r\n" + co… in testSimplePostWithSingleMultipartFormField()176 … contentLength = size + contentLengthHeaderValueSize + HttpPostRequestTest.CONTENT_LENGTH.length(); in testSimpleRawPostData()[all …]
283 headers.add(new OAuth.Parameter(CONTENT_LENGTH, form.length + "")); in invoke()305 headers.add(new OAuth.Parameter(CONTENT_LENGTH, form.length in invoke()346 protected static final String CONTENT_LENGTH = HttpMessage.CONTENT_LENGTH; field in OAuthClient
76 if (HttpMessage.CONTENT_LENGTH.equalsIgnoreCase(key) in execute()
57 headerName(TokenTypes.CONTENT_LENGTH); in parse()
180 TokenTypes.CONTENT_LENGTH); in selectLexer()216 TokenTypes.CONTENT_LENGTH); in selectLexer()
73 public static final int CONTENT_LENGTH = START + 36; field
70 removeHeaders(CONTENT_LENGTH); // unpredictable in HttpMessageDecoder()
154 public static final String CONTENT_LENGTH = "Content-Length"; field in HttpMessage
45 public static final String CONTENT_LENGTH = "Content-Length"; field in HttpHeaders
75 public static final String CONTENT_LENGTH = ContentLengthHeader.NAME; //26 field
129 putNameMap(CONTENT_LENGTH, ContentLength.class.getName()); //26 in initializeNameMap()
75 String length = request.removeHeaders(HttpMessage.CONTENT_LENGTH); in execute()