Skip to content

simpel code to convert raw http request to python object.

License

Notifications You must be signed in to change notification settings

Mohammadwh/pyhttpsnippet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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

About

simpel code to convert raw http request to python object.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages