Make sure charset is there when validating HTTP_ACCEPT
The head of the repo in a pull request can be nil