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:
1 parent
3f5cb84696
commit
85209cb22e
9 files changed
+187
-75
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user