Update web.py

This commit is contained in:
Namhyeon Go 2024-05-20 02:40:00 +09:00 committed by GitHub
parent c96a6e4bc2
commit 3360522dec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

6
web.py
View File

@ -68,11 +68,11 @@ class Connection():
def send(self, data):
self.messages.append(data)
def recv(self):
print ("Not allowed")
def recv(self, size):
print ("Not allowed method")
def close(self):
print ("Not allowed")
print ("Not allowed method")
def __init__(self, req):
self.messages = []