boy-hack / hack-requests

The hack-requests is an http network library for hackers
MIT License
466 stars 90 forks source link

The response.header type is 'http.client.HTTPMessage', not a string. #8

Closed ac0d3r closed 5 years ago

ac0d3r commented 5 years ago
In [2]: import HackRequests 
   ...:  
   ...: hack = HackRequests.hackRequests() 
   ...: url = "http://x.hacking8.com" 
   ...: resp = hack.http(url) 
   ...: resp.header                                                                                                                                                                
Out[2]: <http.client.HTTPMessage at 0x10a50e588>