horsemeat 2.22.3__tar.gz → 2.22.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {horsemeat-2.22.3 → horsemeat-2.22.4}/PKG-INFO +1 -1
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat/version.py +1 -1
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat/webapp/bogusrequest.py +3 -3
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat/webapp/request.py +3 -3
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat.egg-info/PKG-INFO +1 -1
- {horsemeat-2.22.3 → horsemeat-2.22.4}/MANIFEST.in +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/README +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat/__init__.py +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat/configwrapper.py +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat/model/__init__.py +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat/model/newsmessage.py +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat/model/session.py +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat/model/user.py +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat/pg.py +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat/scripts/make-frippery-project +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat/tests/__init__.py +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat/tests/test_configwrapper.py +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat/webapp/__init__.py +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat/webapp/dispatcher.py +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat/webapp/framework_templates/__init__.py +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat/webapp/frameworkhandlers.py +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat/webapp/handler.py +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat/webapp/response.py +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat/webapp/scrubber.py +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat.egg-info/SOURCES.txt +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat.egg-info/dependency_links.txt +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat.egg-info/requires.txt +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/horsemeat.egg-info/top_level.txt +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/requirements.txt +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/setup.cfg +0 -0
- {horsemeat-2.22.3 → horsemeat-2.22.4}/setup.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
# vim: set expandtab ts=4 sw=4 filetype=python:
|
2
2
|
|
3
|
-
import
|
3
|
+
import urllib.parse
|
4
4
|
|
5
5
|
class BogusRequest(object):
|
6
6
|
|
@@ -44,7 +44,7 @@ class BogusRequest(object):
|
|
44
44
|
|
45
45
|
"""
|
46
46
|
|
47
|
-
parts =
|
47
|
+
parts = urllib.parse.urlparse(url)
|
48
48
|
|
49
49
|
return cls('GET', parts.netloc, parts.path, parts.query)
|
50
50
|
|
@@ -57,7 +57,7 @@ class BogusRequest(object):
|
|
57
57
|
def parsed_QS(self):
|
58
58
|
|
59
59
|
if self.QUERY_STRING:
|
60
|
-
return
|
60
|
+
return urllib.parse.parse_qs(self.QUERY_STRING)
|
61
61
|
|
62
62
|
else:
|
63
63
|
return {}
|
@@ -12,7 +12,7 @@ import re
|
|
12
12
|
import sys
|
13
13
|
import textwrap
|
14
14
|
import urllib
|
15
|
-
import
|
15
|
+
import urllib.parse
|
16
16
|
import warnings
|
17
17
|
import wsgiref.util
|
18
18
|
|
@@ -85,7 +85,7 @@ class Request(collections.MutableMapping):
|
|
85
85
|
return self['parsed_QS']
|
86
86
|
|
87
87
|
if self.QUERY_STRING:
|
88
|
-
parsed_qs =
|
88
|
+
parsed_qs = urllib.parse.parse_qs(
|
89
89
|
urllib.unquote(self.QUERY_STRING),
|
90
90
|
keep_blank_values=1)
|
91
91
|
|
@@ -228,7 +228,7 @@ class Request(collections.MutableMapping):
|
|
228
228
|
if self.body:
|
229
229
|
|
230
230
|
try:
|
231
|
-
self['horsemeat.parsed_body'] =
|
231
|
+
self['horsemeat.parsed_body'] = urllib.parse.parse_qs(
|
232
232
|
urllib.unquote(self.body).decode(self.charset),
|
233
233
|
keep_blank_values=1)
|
234
234
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|