Fixed `Allow` header in `methodNotAllowed`.

See commits for comments.