[ 
https://issues.apache.org/jira/browse/DEFT-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070036#comment-13070036
 ] 

Johnathan Meehan edited comment on DEFT-96 at 7/23/11 7:46 PM:
---------------------------------------------------------------

Restoration of original patch; may be updated before commit when code moves to 
trunk. Ran the original checks again with the following output:

$ curl --head --header "If-Modified-Since: 1298224366000" -i 
http://localhost:8080/static/gillian.jpg
HTTP/1.1 200 OK
Date: Sat, 23 Jul 2011 19:42:59 GMT
Content-Length: 0
Last-Modified: Tue, 22 Feb 2011 21:26:28 GMT
Content-Type: image/jpeg
Connection: Keep-Alive
Server: Deft/0.4.0-SNAPSHOT
Cache-Control: public

$ curl --head --header "If-Modified-Since: 12982243660" -i 
http://localhost:8080/static/gillian.jpg
HTTP/1.1 200 OK
Date: Sat, 23 Jul 2011 19:43:45 GMT
Content-Length: 0
Last-Modified: Tue, 22 Feb 2011 21:26:28 GMT
Content-Type: image/jpeg
Connection: Keep-Alive
Server: Deft/0.4.0-SNAPSHOT
Cache-Control: public

$ curl --head --header "If-Modified-Since: Fri, 20 Feb 2065 15:36:27 GMT" -i 
http://localhost:8080/static/gillian.jpg
HTTP/1.1 304 Not Modified
Date: Sat, 23 Jul 2011 19:44:00 GMT
Content-Length: 0
Last-Modified: Tue, 22 Feb 2011 21:26:28 GMT
Content-Type: image/jpeg
Connection: Keep-Alive
Server: Deft/0.4.0-SNAPSHOT
Cache-Control: public

$ curl --head --header "If-Modified-Since: Sun, 20 Feb 2011 15:36:27 GMT" -i 
http://localhost:8080/static/gillian.jpg 
HTTP/1.1 200 OK
Date: Sat, 23 Jul 2011 19:44:16 GMT
Content-Length: 0
Last-Modified: Tue, 22 Feb 2011 21:26:28 GMT
Content-Type: image/jpeg
Connection: Keep-Alive
Server: Deft/0.4.0-SNAPSHOT
Cache-Control: public

      was (Author: jmeehan):
    Restoration of original patch; may be updated before commit when code moves 
to trunk.
  
> RFC 1123 Header Support
> -----------------------
>
>                 Key: DEFT-96
>                 URL: https://issues.apache.org/jira/browse/DEFT-96
>             Project: Deft
>          Issue Type: New Feature
>            Assignee: Johnathan Meehan
>         Attachments: deft96.patch
>
>
> Ensure that headers required to support date format values do so. For 
> example, "If-Modified-Since" should handle this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to