{"action":"created","issue":{"url":"https://api.github.com/repos/hyperium/hyper/issues/912","repository_url":"https://api.github.com/repos/hyperium/hyper","labels_url":"https://api.github.com/repos/hyperium/hyper/issues/912/labels{/name}","comments_url":"https://api.github.com/repos/hyperium/hyper/issues/912/comments","events_url":"https://api.github.com/repos/hyperium/hyper/issues/912/events","html_url":"https://github.com/hyperium/hyper/issues/912","id":175948742,"number":912,"title":"why `send` method automatic set `Date` header?","user":{"login":"fengcen","id":6973379,"avatar_url":"https://avatars.githubusercontent.com/u/6973379?v=3","gravatar_id":"","url":"https://api.github.com/users/fengcen","html_url":"https://github.com/fengcen","followers_url":"https://api.github.com/users/fengcen/followers","following_url":"https://api.github.com/users/fengcen/following{/other_user}","gists_url":"https://api.github.com/users/fengcen/gists{/gist_id}","starred_url":"https://api.github.com/users/fengcen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fengcen/subscriptions","organizations_url":"https://api.github.com/users/fengcen/orgs","repos_url":"https://api.github.com/users/fengcen/repos","events_url":"https://api.github.com/users/fengcen/events{/privacy}","received_events_url":"https://api.github.com/users/fengcen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-09T07:50:30Z","updated_at":"2016-09-09T21:43:31Z","closed_at":null,"body":"I found the code in `write_head()`:\r\n\r\n    if !self.headers.has::<header::Date>() {\r\n        self.headers.set(header::Date(header::HttpDate(now_utc())));\r\n    }\r\n\r\nI don't want to set `Date` header. What should I do?"},"comment":{"url":"https://api.github.com/repos/hyperium/hyper/issues/comments/246048981","html_url":"https://github.com/hyperium/hyper/issues/912#issuecomment-246048981","issue_url":"https://api.github.com/repos/hyperium/hyper/issues/912","id":246048981,"user":{"login":"smithsps","id":1995528,"avatar_url":"https://avatars.githubusercontent.com/u/1995528?v=3","gravatar_id":"","url":"https://api.github.com/users/smithsps","html_url":"https://github.com/smithsps","followers_url":"https://api.github.com/users/smithsps/followers","following_url":"https://api.github.com/users/smithsps/following{/other_user}","gists_url":"https://api.github.com/users/smithsps/gists{/gist_id}","starred_url":"https://api.github.com/users/smithsps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smithsps/subscriptions","organizations_url":"https://api.github.com/users/smithsps/orgs","repos_url":"https://api.github.com/users/smithsps/repos","events_url":"https://api.github.com/users/smithsps/events{/privacy}","received_events_url":"https://api.github.com/users/smithsps/received_events","type":"User","site_admin":false},"created_at":"2016-09-09T21:43:31Z","updated_at":"2016-09-09T21:43:31Z","body":"RFC7231#7.1.1.2 - ` An origin server MUST NOT send a Date header field if it does not\r\n   have a clock capable of providing a reasonable approximation of the\r\n   current instance in Coordinated Universal Time.`\r\n\r\nIt'd be uncommon, but it's technically possible that hyper could be used on such a system. "}}
{"actor":{"display_login":"smithsps"}}