mirror of
https://github.com/kennethreitz/responder.git
synced 2026-06-05 23:00:17 +00:00
request.params for API compatability with existing codebase/tests
This commit is contained in:
@@ -32,6 +32,7 @@ class Request(StarletteRequest):
|
||||
super().__init__(scope, receive=receive)
|
||||
self.formats = None
|
||||
self.mimetype = self.headers.get('Content-Type', '')
|
||||
self.params = dict(self.query_params)
|
||||
|
||||
@property
|
||||
def is_secure(self):
|
||||
|
||||
Reference in New Issue
Block a user