开发者

HTTP transfer rate

开发者 https://www.devze.com 2022-12-23 10:22 出处:网络
Is there a way to sp开发者_如何学Cecify, in a HTTP header, the transfer rate of the content?Unless you\'re writing your own HTTP server, no.

Is there a way to sp开发者_如何学Cecify, in a HTTP header, the transfer rate of the content?


Unless you're writing your own HTTP server, no.

But you can throttle the connection in the client, by reading from the socket only at a certain speed. Due to buffering at the server, network, and your client, the initial part of the file will be sent as fast as the server and network can support. But once all buffers are filled up, the connection speed will be limited by your read speed.


No, the data is always transfered as fast as possible.


No, here you have the possible headers you can specify:

http://en.wikipedia.org/wiki/List_of_HTTP_headers

0

精彩评论

暂无评论...
验证码 换一张
取 消