Home | History | Annotate | Download | only in webob

Lines Matching defs:method

145             if 'method' in kw:
146 # set method first, because .body setters
148 self.method = kw.pop('method')
316 method = environ_getter('REQUEST_METHOD', 'GET')
397 method to provide you with valid data unless you're certain that
711 if not http_method_probably_has_body.get(self.method, True):
771 if self.method not in ('POST', 'PUT', 'PATCH'):
778 if ((self.method == 'PUT' and not content_type)
889 return self.__class__(env, method='GET', content_type=None,
893 # this way we can have seekable input without testing the .seek() method
907 if http_method_probably_has_body.get(self.method):
908 # known HTTP method with body
911 # unknown HTTP method, but the Content-Length
934 After calling this method the .body_file is always seeked to the
1121 name = '%s %s' % (self.method, self.url)
1140 parts = [bytes_('%s %s %s' % (self.method, url, self.http_version))]
1146 if http_method_probably_has_body.get(self.method):
1226 method, resource, http_version = header.split(None, 2)
1227 method = native_(method, 'utf-8')
1234 method=method.upper()
1248 if http_method_probably_has_body.get(r.method):