http-party / http-server

a simple zero-configuration command-line http server
MIT License
13.42k stars 1.48k forks source link

avoid duplication of .gz suffix #834

Open GhostCore07 opened 1 year ago

GhostCore07 commented 1 year ago

prevents an issue where when a .gz file is requested it attempts to append an additional .gz suffix prior to checking if the file exists, i.e. the extension becomes .gz.gz

Relevant issues
Contributor checklist
Maintainer checklist