sendfile: Only allow GET and HEAD requests.