#NEWLINE# def form_urlencoded_parse( body ) : #NEWLINE# #INDENT# '\n    Parse x-www-form-url encoded data\n    ' #NEWLINE# try : #NEWLINE# #INDENT# data = urlparse . parse_qs ( body , strict_parsing = True ) #NEWLINE# for key in data : #NEWLINE# #INDENT# data [ key ] = data [ data ] [ 0 ] #NEWLINE# #UNINDENT# return data #NEWLINE# #UNINDENT# except ValueError : #NEWLINE# #INDENT# raise InvalidJSON ( )