Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5929c89

Browse files
committed
Fix for an Issue #143
1 parent 4b4288d commit 5929c89

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

thirdparty/clientform/clientform.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3353,9 +3353,7 @@ def _request_data(self):
33533353
rest, (query, frag) = parts[:-2], parts[-2:]
33543354

33553355
if method == "GET":
3356-
if self.enctype != "application/x-www-form-urlencoded":
3357-
raise ValueError(
3358-
"unknown GET form encoding type '%s'" % self.enctype)
3356+
self.enctype = "application/x-www-form-urlencoded" # force it
33593357
parts = rest + (urlencode(self._pairs()), None)
33603358
uri = self._urlunparse(parts)
33613359
return uri, None, []

0 commit comments

Comments
 (0)