Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 340 Bytes

File metadata and controls

19 lines (16 loc) · 340 Bytes

pyhttpsnippet

simpel lib to convert raw http request to python object.

from pyhttpsnippet import HttpToRequestsConverter

raw = open("request.txt",'r').read()
py = HttpToRequestsConverter(raw)
print(py.headers)
print(py.cookies)
print(py.body)
print(py.url)
print(py.method)
pip install pyhttpsnippet

enjoy it :D