Play API prototype (#8)

* Play API prototype

* Web app

* Drag and drop support

* Handle different urls

* Fix redirect

* Increase max connections

* changelog

* Limit timeout

* Use fetch

* Redirects

* Formatting
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2022-11-21 18:47:12 -05:00
1 parent 192eec9519
commit 651bb54dee
15 files changed
+180 -39

No files matched your search

+2 -2
View File
@@ -77,10 +77,10 @@ namespace Http
m.source = Http.HttpResponseSource.GENERATED
end function
function Redirect(where as string)
function Redirect(where as string, code = 301 as integer)
m.location = where
message = "Moved to: <a href=" + Quote() + where + Quote() + ">" + where + "</a>"
m.Default(301, message)
m.Default(code, message)
end function
function Json(data as object)