Added request methods

This commit is contained in:
2024-03-28 10:53:53 +01:00
parent 9cbbd3957a
commit 8969c32887
3 changed files with 17 additions and 8 deletions

View File

@ -143,7 +143,7 @@ func (s *server) handleConnection(conn net.Conn) {
method = message[:space]
if method != "GET" {
if !isRequestMethod(method) {
continue
}