Keep It Simple, Stupid | |
PerlMonks |
Re: Sending file as "TEXT" or "BLOB"by Anonymous Monk |
on Feb 24, 2021 at 17:08 UTC ( [id://11128742]=note: print w/replies, xml ) | Need Help?? |
If the file does exist, it should return content-type: application/zip. If it does not, the usual practice is to send application/json containing an error-message packet. Exactly what help do you need here?
In Section
Seekers of Perl Wisdom
|
|