Replace HEAD request, with a specific accept header and content type in response