SHARE
TWEET

Untitled

a guest Jul 17th, 2017 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     config.add_handler('login_GET', '/login',
  2.                        action='login_GET',
  3.                        request_method="GET",
  4.                        factory='myapp.resources:RootFactory',
  5.                        handler=AuthHandler)
  6.  
  7.     config.add_handler('login_POST', '/login',
  8.                        action='login_POST',
  9.                        request_method="POST",
  10.                        factory='myapp.resources:RootFactory',
  11.                        handler=AuthHandler)
RAW Paste Data
Top