Rename "file" param to "html".
Fix Allow header on 405 response