Searched refs:allowed_methods (Results 1 – 8 of 8) sorted by relevance
/external/chromium-trace/catapult/third_party/Paste/paste/ |
D | fileapp.py | 57 allowed_methods = ('GET', 'HEAD') variable in DataApp 59 def __init__(self, content, headers=None, allowed_methods=None, argument 66 if allowed_methods is not None: 67 self.allowed_methods = allowed_methods 99 if method not in self.allowed_methods: 102 headers=[('Allow', ','.join(self.allowed_methods))])
|
/external/chromium-trace/catapult/third_party/webapp2/tests/ |
D | webapp1_test.py | 75 app2.allowed_methods = list(app2.allowed_methods) + ['NEW_METHOD']
|
D | handler_test.py | 435 allowed_methods_backup = app.allowed_methods 446 app.allowed_methods = tuple(app.allowed_methods) + webdav_methods 459 app.allowed_methods = allowed_methods_backup 460 self.assertEqual(len(app.allowed_methods), 7)
|
/external/libevent/ |
D | http-internal.h | 162 ev_uint16_t allowed_methods; member
|
D | http.c | 3019 if ((http->allowed_methods & req->type) == 0) { in evhttp_handle_request() 3021 (unsigned)req->type, (unsigned)http->allowed_methods)); in evhttp_handle_request() 3397 http->allowed_methods = methods; in evhttp_set_allowed_methods()
|
/external/chromium-trace/catapult/third_party/webapp2/docs/api/ |
D | webapp2.rst | 55 active_instance, allowed_methods,
|
/external/chromium-trace/catapult/third_party/webapp2/ |
D | webapp2.py | 1432 allowed_methods = frozenset(('GET', 'POST', 'HEAD', 'OPTIONS', 'PUT', variable in WSGIApplication 1526 if request.method not in self.allowed_methods: 1907 for method in get_app().allowed_methods:
|
D | CHANGES | 419 - Moved ALLOWED_METHODS to WSGIApplication.allowed_methods.
|