Return a string indicating the HTTP request method.
(self)
| 348 | self.host = unquote(self.host) |
| 349 | |
| 350 | def get_method(self): |
| 351 | """Return a string indicating the HTTP request method.""" |
| 352 | default_method = "POST" if self.data is not None else "GET" |
| 353 | return getattr(self, 'method', default_method) |
| 354 | |
| 355 | def get_full_url(self): |
| 356 | return self.full_url |
no outgoing calls