Web-server refactor (#14)

* rename field

* Parse body support

* Changelog

* Parse query params

* Error handling for larger than content-length body
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2022-11-26 17:25:40 -05:00
1 parent 3f5cb84696
commit 85209cb22e
9 files changed
+187 -75

No files matched your search

+1 -6
View File
@@ -173,12 +173,7 @@ namespace Http
end function
function KeepAlive(close as boolean) as string
if close
base = "Connection: close"
else
base = "Keep-Alive: timeout=" + Stri(m.settings.Idletime).trim()
end if
return base
return close ? "Connection: close" : "Keep-Alive: timeout=" + Stri(m.settings.Idletime).trim()
end function
function Now() as string