{"action":"opened","issue":{"url":"https://api.github.com/repos/chrsmithdemos/minify/issues/149","labels_url":"https://api.github.com/repos/chrsmithdemos/minify/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/chrsmithdemos/minify/issues/149/comments","events_url":"https://api.github.com/repos/chrsmithdemos/minify/issues/149/events","html_url":"https://github.com/chrsmithdemos/minify/issues/149","id":58995083,"number":149,"title":"Conditional GET Header If-Modified-Since only results in proper 304 response if value is equal to Last-Modified","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmithdemos/minify/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmithdemos/minify/labels/Priority-High","name":"Priority-High","color":"ededed"},{"url":"https://api.github.com/repos/chrsmithdemos/minify/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-26T00:27:36Z","updated_at":"2015-02-26T00:27:36Z","closed_at":"2015-02-26T00:27:36Z","body":"```\nWhat steps will reproduce the problem?\n1. Make a GET request to Minify with a If-Modified-Since header > Last-Modified\n\nWhat is the expected output? What do you see instead?\n\nAccording to the W3C spec:\n>If the variant has not been modified since a valid If-Modified-Since date,\nthe server SHOULD return a 304 (Not Modified) response.\nhttp://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.25\n\nThe expected response is a 304 status code.\n\nInstead, a 200 OK (along with the requested body) is returned.\n\n\nAttached is a patch to get the expected behavior\n```\n\n-----\nOriginal issue reported on code.google.com by `mwhoo...@gmail.com` on 11 Dec 2009 at 1:41\n\nAttachments:\n* [cond_get.diff](https://storage.googleapis.com/google-code-attachments/minify/issue-149/comment-0/cond_get.diff)\n"}}