Getting raw files over http/https not working in 8.5.x

Getting raw-files over http/https does not work in 8.5.x

How did I test it: case 1: curl http://localhost:8080/user/repo/raw/master/git-include.lib?private_token=xxxxxxxxxxx case 2: curl -k https://localhost/user/repo/raw/master/git-include.lib?private_token=xxxxxxxxxxx

What did I get: http 200, nothing more.


production.log tells me the following when doing case 1:
Started GET "/user/repo/raw/ebd97e4279984735e6a2f6441d7754a80e083878/git-include.sh" for 127.0.0.1 at 2016-02-25 11:49:29 +0100 Processing by Projects::RawController#show as HTML Parameters: {"namespace_id"=>"user", "project_id"=>"repo", "id"=>"ebd97e4279984735e6a2f6441d7754a80e083878/git-include.sh"} Completed 200 OK in 218ms (ActiveRecord: 12.1ms)

nginx-accesslog tells me the following when doing case 2:

127.0.0.1 - - [25/Feb/2016:11:53:48 +0100] "GET /privnet/inspircd/raw/master/git-include.lib?private_token=xxxxxxxxxxx HTTP/1.1" 200 5 "-" "curl/7.29.0"

This worked like a charm in 8.4.x
Regards T