Fix for using send_request with HEAD