Question on .http file format and compatibility #522
Replies: 2 comments 2 replies
-
Yes, but actually no: https://github.com/JetBrains/http-request-in-editor-spec/blob/master/spec.md In my opinion, vscode.rest-client (2016) was first released. The specification of Jetbrains was created in 2017 and already has deviations from the implementation in vscode.rest-client. I created httpyac in 2020 with the goal to build a superset of both, allow Extensibility even without the author and implement some more features I was missing in vscode.rest-client (NodeJS PR :-)). Visual Studio support of http files is new to me. There are some other clients using http Files like dothttp and many Forks (vscode.rest-client is not activly developed since three years). Visual Studio seems to be a subset of vscode.rest-client. Intellij and vsocde.rest-client has some overlapping features. httpyac is a superset of both, but unfortunately I screwed up in a few places. I believe httpyac is compatible with Intellij, but to vscode.rest-client I have discrepancies.
|
Beta Was this translation helpful? Give feedback.
-
Oh that is very interesting. Thank you for the information. With Postman making more changes to their software that one could view as less data privacy friendly (requiring cloud usage more aggressively) - I believe there is an increased personal and enterprise interest in local tools like httpyac. I see opportunity for .http file usage as a whole. I would love to see a long term goal of httpyac trying to be "mostly" compatible with Microsoft's implementation. Right now, it's very basic - but they are adding features and I suspect it will take off. More and more people will get exposure to .http files in Visual Studio, and httpyac has the opportunity to be a better / more flexible / non MS solution here that I think others would be interested in. This is all long term speculation though. In my own testing, they currently are broadly compatible - but I haven't tried anything too advanced. |
Beta Was this translation helpful? Give feedback.
-
Hello.
First, thank you for your work on httpyac. Awesome tool.
I'd like to learn more about the .http file format and the syntax it uses. Where/who exactly is defining the .http file syntax ? Is there a centralized definition or governing body ?
I ask because I'm wondering just how interoperable httpyac-written .http files are with other programs that use .http files.
Examples being Microsoft Visual Studio (https://learn.microsoft.com/en-us/aspnet/core/test/http-files?view=aspnetcore-8.0), IntelliJ (https://www.jetbrains.com/help/idea/http-client-in-product-code-editor.html), and standalone projects (example https://marketplace.visualstudio.com/items?itemName=humao.rest-client) .
Can an .http file written in one be run in another ? (assuming they implement all specs of the standard)
Thank you
Beta Was this translation helpful? Give feedback.
All reactions