{"action":"created","issue":{"url":"https://api.github.com/repos/iron/staticfile/issues/80","repository_url":"https://api.github.com/repos/iron/staticfile","labels_url":"https://api.github.com/repos/iron/staticfile/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/iron/staticfile/issues/80/comments","events_url":"https://api.github.com/repos/iron/staticfile/issues/80/events","html_url":"https://github.com/iron/staticfile/issues/80","id":168037790,"number":80,"title":"The `doc_server` example doesn't appear to work and has a few issues. ","user":{"login":"nelsonjchen","id":5363,"avatar_url":"https://avatars.githubusercontent.com/u/5363?v=3","gravatar_id":"","url":"https://api.github.com/users/nelsonjchen","html_url":"https://github.com/nelsonjchen","followers_url":"https://api.github.com/users/nelsonjchen/followers","following_url":"https://api.github.com/users/nelsonjchen/following{/other_user}","gists_url":"https://api.github.com/users/nelsonjchen/gists{/gist_id}","starred_url":"https://api.github.com/users/nelsonjchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nelsonjchen/subscriptions","organizations_url":"https://api.github.com/users/nelsonjchen/orgs","repos_url":"https://api.github.com/users/nelsonjchen/repos","events_url":"https://api.github.com/users/nelsonjchen/events{/privacy}","received_events_url":"https://api.github.com/users/nelsonjchen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-28T08:12:20Z","updated_at":"2016-07-29T04:30:48Z","closed_at":null,"body":"https://github.com/iron/staticfile/blob/2ac0d6048415bb9e9f4ae169248225df8cb1996b/examples/doc_server.rs#L7\r\n\r\nFor starters, I'm not sure why we should run `cargo test` to run an example. \r\n\r\nSecond, the `doc_server` binary would not be generated from these instructions. Perhaps we meant to say `cargo run --example doc_server`? Was `--example` introduced after this example?\r\n\r\nThat said, the \"doesn't appear to work\" comes from the last instruction, \"point your browser to http://127.0.0.1:3000/doc/\". If I do that, I get a blank page. I get this from cURL request to that endpoint. \r\n\r\n```\r\n$ curl -vvv http://localhost:3000/doc/                                                                           \r\n*   Trying 127.0.0.1...\r\n* Connected to localhost (127.0.0.1) port 3000 (#0)\r\n> GET /doc/ HTTP/1.1\r\n> Host: localhost:3000\r\n> User-Agent: curl/7.43.0\r\n> Accept: */*\r\n>\r\n< HTTP/1.1 404 Not Found\r\n< Date: Thu, 28 Jul 2016 08:12:41 GMT\r\n< Content-Length: 0\r\n<\r\n* Connection #0 to host localhost left intact\r\n```\r\n\r\nI do get the `COPYRIGHT.txt` and any other content below the `/` route like http://127.0.0.1:3000/COPYRIGHT.txt, but the `doc`and `src` appear to end with 404s. Am I doing something wrong? "},"comment":{"url":"https://api.github.com/repos/iron/staticfile/issues/comments/236092148","html_url":"https://github.com/iron/staticfile/issues/80#issuecomment-236092148","issue_url":"https://api.github.com/repos/iron/staticfile/issues/80","id":236092148,"user":{"login":"nelsonjchen","id":5363,"avatar_url":"https://avatars.githubusercontent.com/u/5363?v=3","gravatar_id":"","url":"https://api.github.com/users/nelsonjchen","html_url":"https://github.com/nelsonjchen","followers_url":"https://api.github.com/users/nelsonjchen/followers","following_url":"https://api.github.com/users/nelsonjchen/following{/other_user}","gists_url":"https://api.github.com/users/nelsonjchen/gists{/gist_id}","starred_url":"https://api.github.com/users/nelsonjchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nelsonjchen/subscriptions","organizations_url":"https://api.github.com/users/nelsonjchen/orgs","repos_url":"https://api.github.com/users/nelsonjchen/repos","events_url":"https://api.github.com/users/nelsonjchen/events{/privacy}","received_events_url":"https://api.github.com/users/nelsonjchen/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T04:30:48Z","updated_at":"2016-07-29T04:30:48Z","body":"rustc 1.10.0 (cfcb716cf 2016-07-03)\r\n\r\nOS X 10.11.6. \r\n\r\nCase Insensitive HFS+\r\n"}}
{"actor":{"display_login":"nelsonjchen"}}