+ if method == 'POST':
+ try:
+ if content_type == 'application/x-www-form-urlencoded':
+ POST = urllib.parse.parse_qs(content)
+ else:
+ POST = {}
+ errors.append('Unable to parse POST parameters from content string "{}"'.format(content))
+
+ except:
+ POST = {}
+ errors.append('Unable to parse POST parameters from content string "{}"'.format(content))
+
+ else:
+ POST = {}
+