Request Response编程
Web服务器收到客户端的http恳求,会用于每一次恳求,分别创建一个用于代表恳求的request对象、和代表响应的response对象request和response对象即然代表恳求和响应,那我们要获取客户机提交过来的数据,只需要找request对象就行了。要向客户机输出数据,只需要找response对象就行了(The Web server receives the HTTP request from the client and uses it for each request. It creates a request object representing the request and a response object representing the response. The request and response objects represent the request and response. To obtain the data submitted by the client, we just need to find the request object. To output data to the client, just find the response object)
页:
[1]