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

@@ -20,9 +20,8 @@ namespace Http
keys = ["app", "device", "invidious"]
components = WebUtils.UrlQueryComponents(route)
if components.DoesExist("key")
keys = components["key"]
if request.query.DoesExist("key")
keys = request.query["key"]
if GetInterface(keys, "ifArray") = invalid
keys = [keys]
end if