{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/10189","labels_url":"https://api.github.com/repos/owncloud/core/issues/10189/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/10189/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/10189/events","html_url":"https://github.com/owncloud/core/issues/10189","id":39540885,"number":10189,"title":"HTTP 1.0 on attempt to download a non-existing file","user":{"login":"uboslinux","id":8172617,"avatar_url":"https://avatars.githubusercontent.com/u/8172617?v=3","gravatar_id":"","url":"https://api.github.com/users/uboslinux","html_url":"https://github.com/uboslinux","followers_url":"https://api.github.com/users/uboslinux/followers","following_url":"https://api.github.com/users/uboslinux/following{/other_user}","gists_url":"https://api.github.com/users/uboslinux/gists{/gist_id}","starred_url":"https://api.github.com/users/uboslinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uboslinux/subscriptions","organizations_url":"https://api.github.com/users/uboslinux/orgs","repos_url":"https://api.github.com/users/uboslinux/repos","events_url":"https://api.github.com/users/uboslinux/events{/privacy}","received_events_url":"https://api.github.com/users/uboslinux/received_events","type":"Organization","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-08-05T17:11:13Z","updated_at":"2015-03-26T11:23:13Z","closed_at":null,"body":"I'm accessing:\r\n\r\n    http://owncloud-test/foobar/index.php/apps/files/ajax/download.php?dir=%2F&files=testfile\r\n\r\nwhere testfile does not exist. ownCloud correctly returns status 404, but somehow switches back to HTTP 1.0 just for this single request. (This is pasted from HttpFox)\r\n\r\n    HTTP/1.0 404 Not Found \r\n    Date\tTue, 05 Aug 2014 17:02:46 GMT\r\n    Server\tApache\r\n    X-Powered-By\tPHP/5.5.14\r\n    Expires\tThu, 19 Nov 1981 08:52:00 GMT\r\n    Cache-Control\tno-store, no-cache, must-revalidate, post-check=0, pre-check=0\r\n    Pragma\tno-cache\r\n    X-XSS-Protection\t1; mode=block\r\n    x-content-type-options\tnosniff\r\n    X-Frame-Options\tSameorigin\r\n    content-security-policy\tdefault-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src *; font-src 'self' data:; media-src *\r\n    X-Robots-Tag\tnone\r\n    Connection\tclose\r\n    Content-Type\ttext/html\r\n\r\nIf the file exists, HTTP 1.1 is used."},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/86465007","html_url":"https://github.com/owncloud/core/issues/10189#issuecomment-86465007","issue_url":"https://api.github.com/repos/owncloud/core/issues/10189","id":86465007,"user":{"login":"LukasReschke","id":878997,"avatar_url":"https://avatars.githubusercontent.com/u/878997?v=3","gravatar_id":"","url":"https://api.github.com/users/LukasReschke","html_url":"https://github.com/LukasReschke","followers_url":"https://api.github.com/users/LukasReschke/followers","following_url":"https://api.github.com/users/LukasReschke/following{/other_user}","gists_url":"https://api.github.com/users/LukasReschke/gists{/gist_id}","starred_url":"https://api.github.com/users/LukasReschke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukasReschke/subscriptions","organizations_url":"https://api.github.com/users/LukasReschke/orgs","repos_url":"https://api.github.com/users/LukasReschke/repos","events_url":"https://api.github.com/users/LukasReschke/events{/privacy}","received_events_url":"https://api.github.com/users/LukasReschke/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T11:23:13Z","updated_at":"2015-03-26T11:23:13Z","body":"That's hard-coded in https://github.com/owncloud/core/blob/69f14f974b2acd385809b508f22aa5c15e70d801/lib/private/files.php#L113-L119"}}