“Safest, Fastest, Easiest, and Most advanced” Python HTTP Client. Production Ready! Drop-in replacement for Requests. HTTP/1.1, HTTP/2, and HTTP/3 supported. With WebSocket!
The standard library does not allow this special
domain. Researches showed that a valid domain should have at least two dots (e.g. abc.com. and xyz.tld. but not com.).
Public suffixes cannot be used as a cookie domain for security reasons, but as localhost isn't one we are explicitly
allowing it. Reported in https://github.com/httpie/cli/issues/602RequestsCookieJar set a default policy that circumvent that limitation, if you specified a custom cookie policy then this
fix won't be applied.
The standard library does not allow this special domain. Researches showed that a valid domain should have at least two dots (e.g. abc.com. and xyz.tld. but not com.). Public suffixes cannot be used as a cookie domain for security reasons, but as
localhost
isn't one we are explicitly allowing it. Reported in https://github.com/httpie/cli/issues/602RequestsCookieJar
set a default policy that circumvent that limitation, if you specified a custom cookie policy then this fix won't be applied.