Added encoding handler in response.