mirror of
https://github.com/wassname/stampy-chat.git
synced 2026-09-13 13:10:58 +08:00
add python file
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# example copied from https://vercel.com/docs/concepts/functions/serverless-functions/runtimes/python
|
||||
from http.server import BaseHTTPRequestHandler
|
||||
|
||||
class handler(BaseHTTPRequestHandler):
|
||||
|
||||
def do_GET(self):
|
||||
self.send_response(200)
|
||||
self.send_header('Content-type','text/plain')
|
||||
self.end_headers()
|
||||
self.wfile.write('Hello, world!'.encode('utf-8'))
|
||||
return
|
||||
Reference in New Issue
Block a user