[FIX][NotSure] CherryPy merges the GET and POST args into a single params dict, do the same with Werkzeug request data
bzr revid: xmo@openerp.com-20110902104429-xn3si286s8x5s64f
This commit is contained in:
parent
f54d29ddcc
commit
0e646fc6ff
|
@ -167,7 +167,7 @@ class HttpRequest(WebRequest):
|
|||
""" Regular GET/POST request
|
||||
"""
|
||||
def dispatch(self, controller, method):
|
||||
self.init(self.httprequest.args)
|
||||
self.init(dict(self.httprequest.args, **self.httprequest.form))
|
||||
akw = {}
|
||||
for key, value in self.httprequest.args.iteritems():
|
||||
if isinstance(value, basestring) and len(value) < 1024:
|
||||
|
|
Loading…
Reference in New Issue