We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0f5d2f commit 367e48cCopy full SHA for 367e48c
server.py
@@ -1,12 +1,12 @@
1
# server.py (only the imports and do_POST change shown)
2
from http.server import SimpleHTTPRequestHandler
3
from socketserver import TCPServer
4
-from urllib.parse import urlparse, parse_qs # ← add
+from urllib.parse import urlparse, parse_qs
5
import json
6
import os
7
8
PORT = 3000
9
-ALLOWED_FILES = {"test.json", "solution.json"} # ← add
+ALLOWED_FILES = {"test.json", "solution.json"}
10
11
class Handler(SimpleHTTPRequestHandler):
12
def log_message(self, format, *args):
0 commit comments