Add Etag support (#151)

* Add Etag support

* small tweak
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2023-09-23 18:22:23 -04:00
1 parent dab6dc5bc4
commit c5680f7b06
10 files changed
+222 -118

No files matched your search

@@ -18,6 +18,7 @@ namespace Http
private total_out = 0
private routers
private postRouters
public success as boolean
public settings as Http.HttpSettings
@@ -27,6 +28,7 @@ namespace Http
m.settings = settings
m.task = task
m.routers = []
m.postRouters = []
m.utils = new Utils()
m.success = m.Init()
end function
@@ -76,6 +78,10 @@ namespace Http
m.routers.Push(router)
end function
function UsePostRouter(router as HttpRouter)
m.postRouters.Push(router)
end function
function PreWait()
connections = m.connections
for each id in connections