summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.rst5
-rw-r--r--webtest/app.py3
2 files changed, 4 insertions, 4 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 09ec763..a1b9ec3 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -13,12 +13,13 @@ News
- Fixed #93 Support basic authentication
[gawel]
-- Fixed #107 Explicit error message when WSGIProxy2 is not installer
+- Fixed #103 Broken "Edit me on GitHub" links in documentation
[gawel]
-- Fixed #103 Broken "Edit me on GitHub" links in documentation
+- Fixed #107 Explicit error message when WSGIProxy2 is not installer
[gawel]
+- Fixed #108 cgi.parse_qsl is pending deprecation
2.0.14 (2014-01-23)
-------------------
diff --git a/webtest/app.py b/webtest/app.py
index 6fd308f..7d6eb79 100644
--- a/webtest/app.py
+++ b/webtest/app.py
@@ -11,7 +11,6 @@ from __future__ import unicode_literals
import os
import re
-import cgi
import json
import random
import fnmatch
@@ -649,7 +648,7 @@ class TestApp(object):
if upload_files or \
(content_type and
to_bytes(content_type).startswith(b'multipart')):
- params = cgi.parse_qsl(params, keep_blank_values=True)
+ params = urlparse.parse_qsl(params, keep_blank_values=True)
content_type, params = self.encode_multipart(
params, upload_files or ())
environ['CONTENT_TYPE'] = content_type