HTTP transfer rate
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
精彩评论