import requests requests.get("http://www.sample.com")
How to modifiy the parameter to send the requests like below:
"GET www.sample.com HTTP/1.0"
"GET www.sample.com HTTP/1.1"
Requests does not support sending HTTP/1.0 messages. It is hard to understand why you'd need to do that: HTTP/1.1 was originally specified in RFC 2616, published in June 1999. HTTP/1.0 has therefore been obsolete for more than 16 years: modern tools largely do not support HTTP/1.0 any longer.
2.1m questions
2.1m answers
60 comments
57.0k users