Huachao / vscode-restclient

REST Client Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=humao.rest-client
MIT License
5.21k stars 433 forks source link

HTTP/2 Support #271

Open danroot opened 5 years ago

danroot commented 5 years ago

I have an endpoint I tested with an online tool that says HTTP/2 is working correctly. However, when I specify that to restclient like this: GET https://api.somecompany.com/prod/v1/login HTTP/2.0 The server still responds with HTTP 1.1 200 OK. Am I misunderstanding HTTP/2, is this not supported yet, or is there some other flag I can set to test HTTP2 from restclient?

Huachao commented 5 years ago

@danroot it's not supported yet, I will put this in To-Do list.

floydpink commented 4 years ago

+1

cemtopkaya commented 4 years ago

I think it is really difficult issue to make. I don't know how can I help to make this feature realize.

Marvin-Brouwer commented 3 years ago

Perhaps is best to first write out a summary of the biggest differences in protocol and maybe triage what is needed. For example, I don't think rest-client would benefit from understanding HTTP Push. Or at least it's not the most urgent thing to support. Probably what most people want is to be able to just send a get or post with HTTP/2 in the request and have mostly the same experience. But maybe it's also worth verifying that first too?

Nilegfx commented 1 year ago

@Huachao how can we help with this issue? if you have a concrete idea how to fix it one of us can create a PR. I think by the time this becomes an important feature.

commonsensesoftware commented 7 months ago

Just adding that you cannot explicitly request an upgrade either:

GET /order/123 HTTP/1.1
Host: api.company.com
Connection: upgrade
Upgrade: HTTP/2.0
sohang3112 commented 1 month ago

@Huachao Is there any progress on this issue yet??