Lines Matching defs:method
17 # The proxy bypass method imported below has logic specific to the OSX
373 def request(self, method, url, body=None, headers=None, *,
375 self.method = method
457 return None. Using a tuple instead of a string causes the method to
881 for method, data in [("GET", None), ("POST", b"blah")]:
898 self.assertEqual(http.method, method)
1186 method = getattr(h, "http_error_%s" % code)
1194 method(req, MockFile(), code, "Blah",
1321 def request(conn, method, url, *pos, **kw):
1323 real_class.request(conn, method, url, *pos, **kw)
1890 method = 'PUT'
1897 self.head = Request("http://www.python.org/~jeremy/", method='HEAD')
1900 method="POST")