empd_admin.webapp module¶
Classes
|
|
|
|
|
|
|
|
|
Handler to verify requests through tokens |
|
|
|
A handler for issues submitted through the EMPD viewer |
Functions
|
|
|
|
|
|
|
-
class
empd_admin.webapp.
CommandHookHandler
(application: tornado.web.Application, request: tornado.httputil.HTTPServerRequest, **kwargs: Any)¶ Bases:
tornado.web.RequestHandler
Methods
post
()-
post
()¶
-
-
class
empd_admin.webapp.
MainHandler
(application: tornado.web.Application, request: tornado.httputil.HTTPServerRequest, **kwargs: Any)¶ Bases:
tornado.web.RequestHandler
Methods
get
()Override this to set HTTP headers at the beginning of the request.
-
get
()¶
-
set_default_headers
()¶ Override this to set HTTP headers at the beginning of the request.
For example, this is the place to set a custom
Server
header. Note that setting such headers in the normal flow of request processing may not do what you want, since headers may be reset during error handling.
-
-
class
empd_admin.webapp.
PushedMasterHookHandler
(application: tornado.web.Application, request: tornado.httputil.HTTPServerRequest, **kwargs: Any)¶ Bases:
tornado.web.RequestHandler
Methods
post
()-
post
()¶
-
-
class
empd_admin.webapp.
TestHookHandler
(application: tornado.web.Application, request: tornado.httputil.HTTPServerRequest, **kwargs: Any)¶ Bases:
tornado.web.RequestHandler
Methods
post
()-
post
()¶
-
-
class
empd_admin.webapp.
VerificationHandler
(application: tornado.web.Application, request: tornado.httputil.HTTPServerRequest, **kwargs: Any)¶ Bases:
tornado.web.RequestHandler
Handler to verify requests through tokens
Methods
get
()-
get
()¶
-
-
class
empd_admin.webapp.
ViewerHookHandler
(application: tornado.web.Application, request: tornado.httputil.HTTPServerRequest, **kwargs: Any)¶ Bases:
tornado.web.RequestHandler
Methods
post
()Override this to set HTTP headers at the beginning of the request.
-
post
()¶
-
set_default_headers
()¶ Override this to set HTTP headers at the beginning of the request.
For example, this is the place to set a custom
Server
header. Note that setting such headers in the normal flow of request processing may not do what you want, since headers may be reset during error handling.
-
-
class
empd_admin.webapp.
ViewerIssuesHandler
(application: tornado.web.Application, request: tornado.httputil.HTTPServerRequest, **kwargs: Any)¶ Bases:
tornado.web.RequestHandler
A handler for issues submitted through the EMPD viewer
Methods
post
()Override this to set HTTP headers at the beginning of the request.
-
post
()¶
-
set_default_headers
()¶ Override this to set HTTP headers at the beginning of the request.
For example, this is the place to set a custom
Server
header. Note that setting such headers in the normal flow of request processing may not do what you want, since headers may be reset during error handling.
-
-
empd_admin.webapp.
create_webapp
()¶
-
empd_admin.webapp.
main
()¶
-
empd_admin.webapp.
send_verfication_mail
(token, what, subject, msg, recipient)¶
-
empd_admin.webapp.
verify_recaptcha
(recaptcha_token, action)¶
-
empd_admin.webapp.
verify_request
(signature, body)¶