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
@@ -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
|
||||
|
||||
Reference in new issue
Block a user