process_response might get called before process_request