|
What is the purpose of ETag? Here I send the
following request to the server to get the file. But how to get the contents? I
can use the count method to count upto the length? Any idea?
GET /cvs/cvs.xml HTTP/1.1
Host: localhost:8080 Connection: Keep-Alive, TE TE: trailers, deflate, gzip, compress User-Agent: UCI DAV Explorer/0.72 RPT-HTTPClient/0.3-3E Accept-Encoding: deflate, gzip, x-gzip, compress, x-compress Content-Length: 0 Reaponse:
------------
HTTP/1.1 200 OK
Content-Length: 580 Date: Sat, 25 Aug 2001 09:20:08 GMT Server: Apache Tomcat/4.0-b3 (HTTP/1.1 Connector) Last-Modified: Sat, 25 Aug 2001 09:15:11 GMT ETag: "580-998730911562" |
