Remove webob compatability
Remove the aliases we provided for webob compatability as webob is now gone. Grepped the code base to check for occurences of the old parameters to be safe. Keep request.GET attribute as alias for request.args as it is often used and django is also using that attribute. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
parent
cc195d5b82
commit
726896b62a
@ -135,9 +135,8 @@ class MediaGoblinApp(object):
|
||||
def call_backend(self, environ, start_response):
|
||||
request = Request(environ)
|
||||
|
||||
## Compatibility webob -> werkzeug
|
||||
# Compatibility with django, use request.args preferrably
|
||||
request.GET = request.args
|
||||
request.accept = request.accept_mimetypes
|
||||
|
||||
## Routing / controller loading stuff
|
||||
map_adapter = self.url_map.bind_to_environ(request.environ)
|
||||
|
Loading…
x
Reference in New Issue
Block a user