Skip to content

Commit 6f8863d

Browse files
committed
readme update
1 parent aeeff51 commit 6f8863d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ This will display help for the tool. Here are all the switches it supports.
6161
| `-max-file-size` | Max Upload File Size (default 50 MB) | `simplehttpserver -max-file-size 100` |
6262
| `-sandbox` | Enable sandbox mode | `simplehttpserver -sandbox` |
6363
| `-https` | Enable HTTPS in case of http server | `simplehttpserver -https` |
64+
| `-http1` | Enable only HTTP1 | `simplehttpserver -http1` |
6465
| `-cert` | HTTPS/TLS certificate (self generated if not specified) | `simplehttpserver -cert cert.pem` |
6566
| `-key` | HTTPS/TLS certificate private key | `simplehttpserver -key cert.key` |
6667
| `-domain` | Domain name to use for the self-generated certificate | `simplehttpserver -domain projectdiscovery.io` |

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/projectdiscovery/simplehttpserver
33
go 1.17
44

55
require (
6-
github.com/fsnotify/fsnotify v1.5.1 // indirect
6+
github.com/fsnotify/fsnotify v1.5.1
77
github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
88
github.com/projectdiscovery/gologger v1.1.4
99
github.com/projectdiscovery/sslcert v0.0.0-20210416140253-8f56bec1bb5e
@@ -15,4 +15,5 @@ require (
1515
github.com/logrusorgru/aurora v2.0.3+incompatible // indirect
1616
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
1717
github.com/modern-go/reflect2 v1.0.1 // indirect
18+
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c // indirect
1819
)

0 commit comments

Comments
 (0)