simon-budig / woof

an ad-hoc single file webserver
120 stars 17 forks source link

When using woof to send directories, client saves filename without compression extention #4

Closed CoolCat467 closed 3 years ago

CoolCat467 commented 3 years ago

When you use woof to send (in my testing) any directory, the default filename sent to clients to use is missing the compression file extension.

For example, trying to sent the directory "Documents" to someone with gzip compression, the filename should be "Documents.tar.gz", but when you download the file, firefox and woof's own tiny web browser (and probably everything else) wants to save the file as only "Documents", no "tar.gz" extension.

simon-budig commented 3 years ago

This problem is solved, I've fixed it in commit 39a7b82f2b59ea4ae12206595a24dcc98c40373c

Thanks.