Added code for DefaultResponseHandler