I have an HTTP request generated with postman:
GET http://google.com/ HTTP/1.1
cache-control: no-cache
User-Agent: PostmanRuntime/7.3.0
Accept: */*
Host: google.com
accept-encoding: gzip, deflate
Connection: keep-alive
I'm receiving these types of HTTP requests from a client via socket in python and I want to send it to its specified URL.
I'm familiar with requests library but considering the fact that the client may send any type of HTTP request, it seems inefficient to break down the request and rebuild it.
is there any easy and convenient way to send this request directly to its URL?
thank you in advance.