Is there a way to parse a query string of this form: foo=bar&x=y=z&xyz Is this format against application/x-www-form-urlencoded guidelines? Can somebody point me to a definitive document? What I would ideally like is: { 'foo' : 'bar', 'x' : 'y=z', 'xyz' : None }