I have installed both httpie and httpie-http2
However, when I tried to make an http2 request with redirects, httpie does not follow the HTTP/2 301 redirect:
Input: https --verbose https://google.com --follow
Output:
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Connection: keep-alive
Host: google.com
User-Agent: HTTPie/2.4.0
HTTP/2 301
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="https://www.google.com/">here</A>.
</BODY></HTML>
I have installed both
httpie
andhttpie-http2
However, when I tried to make an http2 request with redirects,httpie
does not follow theHTTP/2 301
redirect: Input:https --verbose https://google.com --follow
Output: