GET request using socket for a URL with resource path or queries

后端 未结 0 640
南方客
南方客 2020-12-01 15:02

I want to use \'socket\' to download a webpage via a given URL -

example.com

My code -

request = b"GET / HTTP/1.1\\nHost: exam         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题