mirror of
https://github.com/servo/servo
synced 2026-04-29 19:07:38 +02:00
10 lines
288 B
Python
10 lines
288 B
Python
def main(request, response):
|
|
try:
|
|
count = int(request.server.stash.take(request.GET["id"]))
|
|
except:
|
|
count = 0
|
|
if "count" in request.GET:
|
|
return str(count)
|
|
request.server.stash.put(request.GET["id"], str(count + 1))
|
|
return 'body { color: red }'
|