Home
last modified time | relevance | path

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

/external/autotest/client/common_lib/cros/fake_device_server/client_lib/
Dcommands.py61 request.get_method = lambda: 'PUT'
63 request.get_method = lambda: 'PATCH'
Dregistration.py54 request.get_method = lambda: 'PUT'
56 request.get_method = lambda: 'PATCH'
/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/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/autotest/server/cros/ap_configurators/
Ddynamic_ap_configurator.py261 req.get_method = lambda: 'DELETE'
/external/python/cpython2/Doc/library/
Durllib2.rst355 .. method:: Request.get_method()