vscode-restclient icon indicating copy to clipboard operation
vscode-restclient copied to clipboard

HTTP/2 Support

Open danroot opened this issue 7 years ago • 8 comments
trafficstars

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?

danroot avatar Oct 11 '18 20:10 danroot

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

Huachao avatar Oct 12 '18 02:10 Huachao

+1

floydpink avatar Apr 07 '20 15:04 floydpink

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

cemtopkaya avatar May 30 '20 12:05 cemtopkaya

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?

Marvin-Brouwer avatar Jul 07 '21 07:07 Marvin-Brouwer

@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.

Nilegfx avatar Jul 07 '23 12:07 Nilegfx

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

commonsensesoftware avatar Jan 28 '24 18:01 commonsensesoftware

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

sohang3112 avatar Jul 22 '24 01:07 sohang3112