Added the HTTP request as a parameter for the failure blocks