Home
last modified time | relevance | path

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

12

/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-trace/trace-viewer/third_party/Paste/paste/
Dgzipper.py15 from paste.httpheaders import CONTENT_LENGTH
88 CONTENT_LENGTH.update(self.headers, content_length)
Dfileapp.py161 CONTENT_LENGTH.update(headers, content_length)
/external/jetty/src/java/org/eclipse/jetty/server/
DResponse.java323 setHeader(HttpHeaders.CONTENT_LENGTH,null); in sendError()
542 if (HttpHeaders.CONTENT_LENGTH.equalsIgnoreCase(name)) in setHeader()
602 if (HttpHeaders.CONTENT_LENGTH.equalsIgnoreCase(name)) in addHeader()
615 if (HttpHeaders.CONTENT_LENGTH.equalsIgnoreCase(name)) in setIntHeader()
629 if (HttpHeaders.CONTENT_LENGTH.equalsIgnoreCase(name)) in addIntHeader()
839 _connection.getResponseFields().putLongField(HttpHeaders.CONTENT_LENGTH, len); in setContentLength()
871 _connection.getResponseFields().putLongField(HttpHeaders.CONTENT_LENGTH, len); in setLongContentLength()
/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/jetty/src/java/org/eclipse/jetty/http/
DHttpHeaders.java51 CONTENT_LENGTH= "Content-Length", field in HttpHeaders
183 CONTENT_LENGTH_BUFFER=CACHE.add(CONTENT_LENGTH,CONTENT_LENGTH_ORDINAL),
/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/chromium-trace/trace-viewer/third_party/Paste/tests/
Dtest_httpheaders.py33 assert '200' == CONTENT_LENGTH(environ)
/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/jetty/src/java/org/eclipse/jetty/client/
DAbstractHttpConnection.java225 requestHeaders.putLongField(HttpHeaders.CONTENT_LENGTH, requestContent.length()); in commitRequest()
239 requestHeaders.remove(HttpHeaders.CONTENT_LENGTH); in commitRequest()
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/
DHttpClient4.java75 String length = request.removeHeaders(HttpMessage.CONTENT_LENGTH); in execute()
/external/jetty/src/java/org/eclipse/jetty/server/handler/
DResourceHandler.java538 response.setHeader(HttpHeaders.CONTENT_LENGTH,Long.toString(length)); in doResponseHeaders()
/external/jetty/src/java/org/eclipse/jetty/servlets/
DProxyServlet.java602 … exchange.setRequestHeader(HttpHeaders.CONTENT_LENGTH,Long.toString(contentLength)); in service()
/external/chromium-trace/trace-viewer/third_party/WebOb/docs/
Dnews.txt570 input stream is readable even if the ``CONTENT_LENGTH`` is not set.
678 * Fix ``req.body_file = f`` setting ``CONTENT_LENGTH`` to ``-1`` (now removes from environ)
961 * Fix defaulting of ``CONTENT_TYPE`` instead of ``CONTENT_LENGTH`` to
1139 ``environ['CONTENT_LENGTH']`` is somehow invalid.
Dreference.txt255 >>> req.environ['CONTENT_LENGTH'] = str(len(req.body))
/external/libphonenumber/demo/war/WEB-INF/lib/
Dcommons-fileupload-1.2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/jetty/src/java/org/eclipse/jetty/servlet/
DDefaultServlet.java1090 response.setHeader(HttpHeaders.CONTENT_LENGTH,Long.toString(count)); in writeHeaders()
/external/chromium-trace/trace-viewer/third_party/Paste/docs/
Dnews.txt449 maps to ``CONTENT_LENGTH``.
518 and ``CONTENT_LENGTH`` set for recursive requests.

12