Spaces:
Running
Running
cutycat2000x
commited on
Commit
•
130f8c0
1
Parent(s):
2e7f4cb
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def handle_request(path=""):
|
|
45 |
proxied_response.status_code = response.status_code
|
46 |
proxied_response.headers["Content-Type"] = "text/html"
|
47 |
if didReply:
|
48 |
-
ongoing_requests
|
49 |
decrement_request_count_task(ip)
|
50 |
|
51 |
return proxied_response
|
|
|
45 |
proxied_response.status_code = response.status_code
|
46 |
proxied_response.headers["Content-Type"] = "text/html"
|
47 |
if didReply:
|
48 |
+
del ongoing_requests[ip]
|
49 |
decrement_request_count_task(ip)
|
50 |
|
51 |
return proxied_response
|