mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-29 18:44:43 +00:00
Merge pull request #256 from cjmayo/parse_qs
Replace deprecated cgi.parse_qs
This commit is contained in:
commit
9c9706a07a
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ def application(environ, start_response):
|
|||
request_body = environ['wsgi.input'].read(request_body_size)
|
||||
else:
|
||||
request_body = environ['wsgi.input'].read()
|
||||
form = cgi.parse_qs(request_body)
|
||||
form = urlparse.parse_qs(request_body)
|
||||
|
||||
status = '200 OK'
|
||||
start_response(status, get_response_headers())
|
||||
|
|
|
|||
Loading…
Reference in a new issue