Files
curlconverter/fixtures/python/get_insecure_short.py
Boris Verkhovskiy 618bc69e91 parse querystring losslessly (#340)
* parse querystring losslessly

* remove warning

which is hopefully no longer true

* .split doesn't work how I thought it did

* actually detect when a param is missing a =

* use new parsings in python.js

* don't decode query string if it doesn't round-trip

when you percent-decode and re-encode it

* fix tests

* update generators to work with list of lists

* used queryDict in json.js

* fix python and qs parser

* check percent encoding space as + too
2022-03-16 20:49:54 -07:00

4 lines
79 B
Python
Generated

import requests
response = requests.get('https://www.site.com', verify=False)