Home
last modified time | relevance | path

Searched refs:allowed_methods (Results 1 – 8 of 8) sorted by relevance

/external/chromium-trace/catapult/third_party/Paste/paste/
Dfileapp.py57 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/
Dwebapp1_test.py75 app2.allowed_methods = list(app2.allowed_methods) + ['NEW_METHOD']
Dhandler_test.py435 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/
Dhttp-internal.h162 ev_uint16_t allowed_methods; member
Dhttp.c3019 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/
Dwebapp2.rst55 active_instance, allowed_methods,
/external/chromium-trace/catapult/third_party/webapp2/
Dwebapp2.py1432 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:
DCHANGES419 - Moved ALLOWED_METHODS to WSGIApplication.allowed_methods.