Home
last modified time | relevance | path

Searched refs:CONTENT_LENGTH (Results 1 – 14 of 14) sorted by relevance

/external/nanohttpd/core/src/test/java/fi/iki/elonen/
DHttpPostRequestTest.java16 public static final String CONTENT_LENGTH = "Content-Length: "; field in HttpPostRequestTest
30 int contentLength = size + contentLengthHeaderValueSize + CONTENT_LENGTH.length(); in testSimpleRawPostData()
31 String input = header + CONTENT_LENGTH + (contentLength+4) + "\r\n\r\n" + content; in testSimpleRawPostData()
50 int contentLength = size + contentLengthHeaderValueSize + CONTENT_LENGTH.length(); in testSimplePostWithSingleMultipartFormField()
51 String input = header + CONTENT_LENGTH + (contentLength+4) + "\r\n\r\n" + content; in testSimplePostWithSingleMultipartFormField()
73 int contentLength = size + contentLengthHeaderValueSize + CONTENT_LENGTH.length(); in testPostWithMultipleMultipartFormFields()
74 String input = header + CONTENT_LENGTH + (contentLength+4) + "\r\n\r\n" + content; in testPostWithMultipleMultipartFormFields()
97 int contentLength = size + contentLengthHeaderValueSize + CONTENT_LENGTH.length(); in testPostWithMultipleMultipartFormFieldsWhereContentTypeWasSeparatedByComma()
98 String input = header + CONTENT_LENGTH + (contentLength+4) + "\r\n\r\n" + content; in testPostWithMultipleMultipartFormFieldsWhereContentTypeWasSeparatedByComma()
151 int contentLength = size + contentLengthHeaderValueSize + CONTENT_LENGTH.length(); in preparePostWithMultipartForm()
[all …]
/external/oauth/core/src/main/java/net/oauth/client/
DOAuthClient.java283 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
DURLConnectionClient.java76 if (HttpMessage.CONTENT_LENGTH.equalsIgnoreCase(key) in execute()
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DAwContentsClientCallbackHelperTest.java75 static final int CONTENT_LENGTH = 42; field in AwContentsClientCallbackHelperTest
123 MIME_TYPE, CONTENT_LENGTH); in testOnDownloadStart()
129 assertEquals(CONTENT_LENGTH, downloadStartHelper.getContentLength()); in testOnDownloadStart()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DContentLengthParser.java57 headerName(TokenTypes.CONTENT_LENGTH); in parse()
DLexer.java180 TokenTypes.CONTENT_LENGTH); in selectLexer()
216 TokenTypes.CONTENT_LENGTH); in selectLexer()
DTokenTypes.java73 public static final int CONTENT_LENGTH = START + 36; field
/external/chromium_org/net/http/
Dhttp_atom_list.h19 HTTP_ATOM(CONTENT_LENGTH)
/external/oauth/core/src/main/java/net/oauth/http/
DHttpMessageDecoder.java70 removeHeaders(CONTENT_LENGTH); // unpredictable in HttpMessageDecoder()
DHttpMessage.java154 public static final String CONTENT_LENGTH = "Content-Length"; field in HttpMessage
/external/guava/guava/src/com/google/common/net/
DHttpHeaders.java45 public static final String CONTENT_LENGTH = "Content-Length"; field in HttpHeaders
/external/nist-sip/java/gov/nist/javax/sip/header/
DSIPHeaderNames.java75 public static final String CONTENT_LENGTH = ContentLengthHeader.NAME; //26 field
DNameMap.java129 putNameMap(CONTENT_LENGTH, ContentLength.class.getName()); //26 in initializeNameMap()
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/
DHttpClient4.java75 String length = request.removeHeaders(HttpMessage.CONTENT_LENGTH); in execute()