安静的栖居

安静的栖居

2007年6月17日星期日

http协议的学习(1)------prima的bug

Response Meaning
Informational 100-199
Client request successful 200-299
Client request redirected, further action necessary 300-399
Client request incomplete 400-499
Server errors 500-599



apache日志会在log里记录下http的请求,而swsoft的prima主机管理系统在记录流量的时候参考的是apache的流量记录,且把200和206的记录记录了两次。因此对主机的流量会产生一定错误,特别ftp目录下存在大文件的时候,多线程的下载会发出多个请求,206的接受头传输大小就会分割开多次。多次请求多次记录。因此流量就会产生错误。



200 OK
The client's request was successful, and the server's response contains the requested data.


206 Partial Content
The server is returning partial data of the size requested. Used in response to a request specifying a Range header. The server must specify the range included in the response with the Content-Range header.

标签: