From 5929c89ba4177a736e2306f2b637bf4f227a5869 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 9 Aug 2012 13:44:21 +0200 Subject: [PATCH] Fix for an Issue #143 --- thirdparty/clientform/clientform.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/thirdparty/clientform/clientform.py b/thirdparty/clientform/clientform.py index 8f9bb315b..2a4f948f3 100644 --- a/thirdparty/clientform/clientform.py +++ b/thirdparty/clientform/clientform.py @@ -3353,9 +3353,7 @@ class HTMLForm: rest, (query, frag) = parts[:-2], parts[-2:] if method == "GET": - if self.enctype != "application/x-www-form-urlencoded": - raise ValueError( - "unknown GET form encoding type '%s'" % self.enctype) + self.enctype = "application/x-www-form-urlencoded" # force it parts = rest + (urlencode(self._pairs()), None) uri = self._urlunparse(parts) return uri, None, []