对不起,我会说一点英语。我有一个js代码
url = '/auth'
var http_request = window.XDomainRequest || window.XMLHttpRequest;
http_request = new http_request;
http_request.open( "post", url, true, 'jack', 'pass_jack' );
http_request.send();
和 python BaseHTTPServer
def do_POST(self):
if self.path == '/auth':
我如何在python中检查用户名和密码?