python - Http protocol error while WebScrapping -


i getting error while web scrapping

http protocol error', 0, 'got bad status line

what mean? ,

how can avoid this?

first line of http (>1.0) response status line.

this error says status line broken. can if server response starts non-rfc status line (i don't think can be), , if response version http/0.9 (no status line , headers). server answer http/0.9 if request (for example header lines) broken

check response using wireshark (or else) , give bit more info error.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -