-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Support HTTP/2 requests #997
Comments
👋 Thanks for opening your first issue! If you're reporting a 🐞 bug, please make sure To help make this a smooth process, please be sure you have first read the |
This should be easy to add, except the I still think this will be good to have eventually 👍 |
I hope someone is working on this. http2 adoption is getting pretty high and this is a blocking issue for us. I have to disable http2 in our development server and I can't recommend this tool to devOps if it won't work on production. |
Just a note: Support for HTTP/2 is already included in the OSX and Linux versions of Insomnia, since they are linked with the I think the only thing that needs to be done is to allow the user to supply the CURLOPT_HTTP_VERSION option |
@gschier HTTP/2 does not appear to be working for me. $ uname -a
Linux laptop 5.0.5-arch1-1-ARCH #1 SMP PREEMPT Wed Mar 27 17:53:10 UTC 2019 x86_64 GNU/Linux When using the firefox extension RESTClient it works as expected. However Insomnia is another story. It reacts the same way as Postman. |
@FallingSnow , there may be some other issue in your use case. Postman works with HTTP2 and the error message I get when I try to use insomnia with http2 looks like this: Error: SSL connect error. Oops, my bad look like Postman is not using http2, it was falling back to http/1.1 |
Correct, postman also has an issue open for using http2. It looks like the error you're receiving with Insomnia has to do with SSL rather than HTTP2. |
Good news. The develop branch does in fact support HTTP2 on at least Linux. I just followed the develop instructions to compile and start the app and bingo, it worked! |
Any update on this? Does Insomnia support HTTP2 now on OSX? |
Insomnia is based on libcurl on Windows, correct? So it should be able to access HTTP/2 servers as I do with curl that sets
Hope it helps |
Details
Currently when Insomnia makes its requests to an HTTPS enabled site, it only uses HTTP/1.1. It would be great if Insomnia would utilize HTTP/2 requests via ALPN.
The text was updated successfully, but these errors were encountered: