Handle all HTTP response codes.