hapijs/hapi — pull request #1956 by gergoerdosi (2014-09-18 12:07:15+00:00)
Title: Fix Content-Type overriding

Similarly to #1760 it's not possible to use custom `Content-Type` header for files. The following doesn't work:

reply.file('./example').type('application/json');

The returned `Content-Type` header is `application/octet-stream`. This pull request fixes the issue and returns `application/json`.