Home
last modified time | relevance | path

Searched refs:requestline (Results 1 – 11 of 11) sorted by relevance

/external/apache-http/src/org/apache/http/message/
DBasicHttpRequest.java55 private final RequestLine requestline; field in BasicHttpRequest
69 this.requestline = null; in BasicHttpRequest()
76 public BasicHttpRequest(final RequestLine requestline) { in BasicHttpRequest() argument
78 if (requestline == null) { in BasicHttpRequest()
81 this.requestline = requestline; in BasicHttpRequest()
82 this.method = requestline.getMethod(); in BasicHttpRequest()
83 this.uri = requestline.getUri(); in BasicHttpRequest()
87 if (this.requestline != null) { in getProtocolVersion()
88 return this.requestline.getProtocolVersion(); in getProtocolVersion()
95 if (this.requestline != null) { in getRequestLine()
[all …]
DBasicHttpEntityEnclosingRequest.java69 public BasicHttpEntityEnclosingRequest(final RequestLine requestline) { in BasicHttpEntityEnclosingRequest() argument
70 super(requestline); in BasicHttpEntityEnclosingRequest()
/external/apache-http/src/org/apache/http/impl/
DDefaultHttpRequestFactory.java87 public HttpRequest newHttpRequest(final RequestLine requestline) in newHttpRequest() argument
89 if (requestline == null) { in newHttpRequest()
92 String method = requestline.getMethod(); in newHttpRequest()
94 return new BasicHttpRequest(requestline); in newHttpRequest()
96 return new BasicHttpEntityEnclosingRequest(requestline); in newHttpRequest()
98 return new BasicHttpRequest(requestline); in newHttpRequest()
/external/python/cpython2/Lib/
DBaseHTTPServer.py246 requestline = self.raw_requestline
247 requestline = requestline.rstrip('\r\n')
248 self.requestline = requestline
249 words = requestline.split()
286 self.send_error(400, "Bad request syntax (%r)" % requestline)
312 self.requestline = ''
433 self.requestline, str(code), str(size))
/external/apache-http/src/org/apache/http/impl/io/
DHttpRequestParser.java82 RequestLine requestline = this.lineParser.parseRequestLine(this.lineBuf, cursor); in parseHead() local
83 return this.requestFactory.newHttpRequest(requestline); in parseHead()
/external/python/cpython3/Lib/http/
Dserver.py282 requestline = str(self.raw_requestline, 'iso-8859-1')
283 requestline = requestline.rstrip('\r\n')
284 self.requestline = requestline
285 words = requestline.split()
322 "Bad request syntax (%r)" % requestline)
396 self.requestline = ''
544 self.requestline, str(code), str(size))
/external/apache-http/src/org/apache/http/
DHttpRequestFactory.java50 HttpRequest newHttpRequest(RequestLine requestline) in newHttpRequest() argument
/external/python/cpython3/Lib/test/
Dtest_httpservers.py868 self.assertEqual(self.handler.requestline, 'GET / HTTP/1.1')
880 self.assertEqual(self.handler.requestline, 'GET / HTTP/1.0')
908 self.assertEqual(self.handler.requestline, 'GET / HTTP/1.0')
923 self.assertEqual(self.handler.requestline, 'GET / HTTP/1.1')
938 handler.requestline = ''
1014 self.assertIsInstance(self.handler.requestline, str)
1022 self.assertEqual(self.handler.requestline, 'GET / HTTP/1.1')
1029 self.assertEqual(self.handler.requestline, 'GET / HTTP/1.1')
/external/python/cpython2/Lib/wsgiref/
Dsimple_server.py118 self.requestline = ''
/external/python/cpython3/Lib/wsgiref/
Dsimple_server.py120 self.requestline = ''
/external/python/cpython3/Doc/library/
Dhttp.server.rst87 .. attribute:: requestline