fix setting Content-Type for index request

need to pass proper index file name to `setHeader`

fixes #2
Merge branch 'content-type-fix'
Release 0.2.1