Home
last modified time | relevance | path

Searched refs:get_method (Results 1 – 18 of 18) sorted by relevance

/external/autotest/client/common_lib/cros/fake_device_server/client_lib/
Dcommands.py63 request.get_method = lambda: 'PUT'
65 request.get_method = lambda: 'PATCH'
Dregistration.py54 request.get_method = lambda: 'PUT'
56 request.get_method = lambda: 'PATCH'
/external/rust/crates/pin-project-lite/src/
Dlib.rs1046 [$method_ident:ident $get_method:ident $($mut:ident)?]
1059 let Self { $($field),* } = self.$get_method();
1073 [$method_ident:ident $get_method:ident $($mut:ident)?]
1080 [$method_ident $get_method $($mut)?]
1138 [$method_ident:ident $get_method:ident $($mut:ident)?]
1155 match self.$get_method() {
1177 [$method_ident:ident $get_method:ident $($mut:ident)?]
Dlib.rs.orig1043 [$method_ident:ident $get_method:ident $($mut:ident)?]
1056 let Self { $($field),* } = self.$get_method();
1070 [$method_ident:ident $get_method:ident $($mut:ident)?]
1077 [$method_ident $get_method $($mut)?]
1135 [$method_ident:ident $get_method:ident $($mut:ident)?]
1152 match self.$get_method() {
1174 [$method_ident:ident $get_method:ident $($mut:ident)?]
/external/pigweed/pw_rpc/py/pw_rpc/
Dclient.py314 return descriptors.get_method(self.rpcs, method_name)
381 return descriptors.get_method(self.services, method_name)
Ddescriptors.py350 def get_method(service_accessor: ServiceAccessor, name: str): function
/external/python/cpython3/Lib/test/
Dtest_urllib2.py1182 self.assertEqual(o.req.get_method(), "GET")
1885 self.assertEqual("POST", self.post.get_method())
1886 self.assertEqual("GET", self.get.get_method())
1887 self.assertEqual("HEAD", self.head.get_method())
1888 self.assertEqual("PUT", self.put.get_method())
1889 self.assertEqual("POST", self.force_post.get_method())
1893 self.assertEqual("GET", self.get.get_method())
1896 self.assertEqual("POST", self.get.get_method())
Dtest_urllib.py1608 self.assertEqual(request.get_method(), 'GET')
1610 self.assertEqual(request.get_method(), 'POST')
1616 self.assertEqual(request.get_method(), 'HEAD')
1619 self.assertEqual(request.get_method(), 'HEAD')
1621 self.assertEqual(request.get_method(), 'GET')
1623 self.assertEqual(request.get_method(), 'HEAD')
/external/python/cpython2/Lib/distutils/tests/
Dtest_upload.py124 self.assertEqual(self.last_open.req.get_method(), 'POST')
/external/python/cpython2/Lib/test/
Dtest_urllib2.py946 self.assertEqual(o.req.get_method(), "GET")
1330 self.assertEqual("POST", self.post.get_method())
1331 self.assertEqual("GET", self.get.get_method())
1335 self.assertEqual("GET", self.get.get_method())
1338 self.assertEqual("POST", self.get.get_method())
/external/python/cpython3/Lib/distutils/tests/
Dtest_upload.py136 self.assertEqual(self.last_open.req.get_method(), 'POST')
/external/python/cpython2/Lib/
Durllib2.py256 def get_method(self): member in Request
576 m = req.get_method()
1031 A2 = "%s:%s" % (req.get_method(),
1195 h.request(req.get_method(), req.get_selector(), req.data, headers)
/external/python/cpython3/Lib/urllib/
Drequest.py380 def get_method(self): member in Request
516 sys.audit('urllib.Request', req.full_url, req.data, req.headers, req.get_method())
661 m = req.get_method()
1167 A2 = "%s:%s" % (req.get_method(),
1261 request.get_method())
1342 h.request(req.get_method(), req.selector, req.data, headers,
/external/rust/crates/grpcio-compiler/src/
Dcodegen.rs554 .get_method() in new()
/external/python/cpython3/Doc/library/
Durllib.request.rst242 :attr:`~Request.method` attribute and is used by :meth:`get_method()`.
511 which means that :meth:`~Request.get_method` will do its normal computation
513 computation in :meth:`~Request.get_method`) either by providing a default
525 .. method:: Request.get_method()
533 get_method now looks at the value of :attr:`Request.method`.
/external/python/cpython2/Doc/library/
Durllib2.rst355 .. method:: Request.get_method()
/external/python/cpython3/Doc/whatsnew/
D3.3.rst2104 used by :meth:`~urllib.request.Request.get_method` to determine what HTTP method
/external/rust/crates/protobuf/src/
Ddescriptor.rs4041 pub fn get_method(&self) -> &[MethodDescriptorProto] { in get_method() method