http-server
http-server copied to clipboard
a simple zero-configuration command-line http server
#### What's the problem this feature will solve? This is a primary use case for me since I usually want to use this utility in a non production context, where...
If file is already compressed (ends with `.gz` or `.br`), no need to add those file extensions. Sometime files are already compressed and needs to serve with the correct header....
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...
Hi, We are using 0.12.3 version of http-server. As a dependent package, 1.5.1 version of opener package has been installed. This version of opener has 4 High Vulnerabilities (CVE-2021-27478, CVE-2021-27482,...
The `.headers` file idea comes from the [File Handler in wptserve](http://wptserve.readthedocs.io/en/latest/handlers.html#file-handlers) (a Python-based server for running the Web Platform Tests system at the W3C). They look like this: ``` Content-Type:...
Updated documentation in Readme.md related to Cors Fixes #856 ##### Contributor checklist - [x] Readme.md - [x] The pull request is being made against the `master` branch
If you are using a 404.html as magic file, then directory listings don't work anymore. The 404.html is displayed instead. #### Environment Versions 1. Linux Mint 21.2 (Kernel 5.15.0-107) 1....
ByDefault link displays content with 3d preview button but when we use in i frames it doesnot displays 3d preview please fix ?
I'm trying to serve compressed versions of my HTML files. I've added the `-g` flag and I see `Serve GZIP Files: true` during startup. I've zipped a test file using...
Difference/improvements over #885: - Semantically identical to `curl -H` and `curl --header` [^1] - Empty headers are allowed (RFC 7230) - Includes tests Sorry :) ##### Relevant issues Resolves #884...