Change a deprecated function call from httpextendetrequest.