winget install --id TheWaWaR.simple-http-server
About simple-http-server
Command line utility to serve directories and files, very extensible
What's new in 0.8.0
• Compared to the previous Iron-based version, this release changes the server in these ways: Core - Replaced the old iron stack with an axum + tokio implementation. - Kept the CLI mostly compatible, but moved the codebase to a modern async HTTP stack. - Reorganized the implementation into separate modules for config, server setup, handlers, and utilities. TLS - TLS support is now behind a single tls feature and is disabled by default. - --cert and --certpass still accept PKCS#12 files, but they only work when the binary is built with --features tls. - On Linux and macOS, TLS uses system OpenSSL. - On Windows, TLS uses vendored OpenSSL to avoid CI and toolchain issues. User-visible behavior changes - --upload-size-limit now supports human-readable values such as 30K, 50M, and 1G. - Size suffixes are interpreted in powers of 1024. - Upload limit errors are clearer: oversized uploads now return a readable 413 message instead of low-level stream errors. - Invalid multipart requests now return proper client errors instead of collapsing into 500 responses. - Internal 500 errors are now printed to stderr for easier debugging. - --open now uses https:// automatically when TLS is enabled. - --base-url is normalized consistently. - --try-file behavior is explicit: relative paths resolve against the server root, absolute paths are used as-is. - CORS preflight OPTIONS requests are handled directly. - Error pages escape injected text. Performance and resource usage - File responses are streamed instead of being buffered in full. - Compressed responses are streamed. - Uploads are stream...
Version history
| Version | Updated | Notes |
|---|---|---|
| 0.8.0 | Unknown | • Compared to the previous Iron-based version, this release changes the server in these ways: Core - Replaced the old iron stack with an axum + tokio implementation. - Kept the CLI mostly compatible, but moved the codeba... |
| 0.6.14 | Unknown | No notes |
| 0.6.13 | Unknown | - Bump open version from 1 to 5 |
| 0.6.12 | Unknown | Changes - Fix a Security Issue when upload a file with special filename (Thanks @tylzars for reporting this) - Print bad request error message - Bump dependencies |
| 0.6.9 | Unknown | Release notes |