Closed jroeber closed 5 months ago
If it helps, I'm running Linux Mint 21.2 with VS Codium 1.85.1. I tried manually adding # @openWith imagePreview.previewEditor
to the request as shown in the docs, but that didn't seem to change anything.
thx for the report. I just forgot to await the save of the file. This is needed to open a image in previewEditor. I added it and it is fixed with next release.
I have a simple REST API where I post an image:
This saves the file and returns the hash, which I can use to get the file later:
However, when I run this with httpYac, I get an error message saying that the response appears to be binary (which is correct) and that it cannot be displayed as text (which is also correct):
I thought maybe my
Content-Type
response header may not be set correctly, so I tried cURL to see:...But it looks like the
Content-Type
is set correctly in the response headers, and yet the response isn't rendered in VS Code. This request works fine in humao's REST Client.