[cs631apue] If-Modified-Since Header

Jan Schaumann jschauma at stevens.edu
Mon Nov 19 15:54:52 EST 2012


tparisi <tparisi at stevens.edu> wrote:

> Now I am getting a 301 Moved Permanently with an url of:  
> "http://www.cs.stevens.edu/~<username>/tmp/".  I am expecting either a  
> 200 status code or a 304 status code correct?

Seems to work for me:

$ telnet www.cs.stevens.edu 80
Trying 155.246.89.84...
Connected to tarantula.srcit.stevens-tech.edu.
Escape character is '^]'.
GET /~tparisi/tmp/ HTTP/1.1
Host: www.cs.stevens.edu

HTTP/1.1 200 OK
Date: Mon, 19 Nov 2012 20:53:53 GMT
Server: Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.3.3-7+squeeze3 with
Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8o
Last-Modified: Mon, 19 Nov 2012 20:47:52 GMT
ETag: "220d-e-4cedf3b29a39b"
Accept-Ranges: bytes
Content-Length: 14
Vary: Accept-Encoding
Content-Type: text/html

in index.html


-Jan


More information about the cs631apue mailing list