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

POST binary data add new line to uploaded file (request body)

Open isimonov opened this issue 2 years ago • 1 comments

  • REST Client Version: v0.25.0
  • VSCode Version: 1.69.0
  • OS Version: Windows 11 (Windows_NT x64 10.0.22000)

Steps to Reproduce:

POST http://localhost:8080/upload
Content-Type: application/octet-stream

< ./test.pdf

This test.pdf file on backend not equal file which was passed because it ended up with an empty string. Maybe this bug is related to https://github.com/Huachao/vscode-restclient/pull/999 Check, please.

isimonov avatar Jul 11 '22 14:07 isimonov

@isimonov can you work with version 0.24.6?

Huachao avatar Aug 19 '22 14:08 Huachao

Hi,

I've the same problem and using the latest version v0.25.1.

smilix avatar Oct 28 '22 07:10 smilix

version 0.24.6 does not add a new line.

Sobczyszyn avatar Apr 12 '23 14:04 Sobczyszyn

@isimonov @smilix @Sobczyszyn @gmeligio I have fixed the issue and will publish this in the next release

Huachao avatar Jul 14 '23 15:07 Huachao