Replies: 1 comment
-
See: #5539 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
it would be really useful to just upload a single file as is without using
multipart/form-data
So like these examples:
Curl:
curl -X POST --header 'Content-Type: application/pdf' --data @test.pdf http://filer:8080/test.pdf
JS:
I think in some cases it's much easier to just send the file over and omit the process of creating boundary etc. for
multipart/form-data
.I would imagine that in the corresponding go section it's an if/else block and would be fully backwards compatible.
If there was a go dev able to do this, I would appreciate :)
Beta Was this translation helpful? Give feedback.
All reactions