serve a new file from an endpoint [getting 0 bytes file] #2753
Replies: 3 comments 5 replies
-
What you're describing sounds more like a problem with the creation of zip file rather than an axum issue. Can you verify that the |
Beta Was this translation helpful? Give feedback.
-
yep, I tried to run zip creation separately and it worked perfectly fine, opened zip, entered pass, see the text all good. |
Beta Was this translation helpful? Give feedback.
-
Ok I got what was happening: I was calling
which confused the hell out of me. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Hey! I am trying to form a zip file(created with zip crate) with encrypted file on request to endpoint and serve it.
I tried all approaches in #608 and can't figure out what is wrong.
best case scenario - I get zip file that says 'not a zip archive' when opened.
I have something like this
setup
this gives me an empty
lol.zip
which is eager to tell me that it is not a zip fileaxum version
0.7.5
Beta Was this translation helpful? Give feedback.
All reactions