def sanitize_for_archive(url, headers, payload):
        """Sanitize payload of a HTTP request by removing the login and password information
        before storing/retrieving archived items

        :param: url: HTTP url request
        :param: headers: HTTP headers request
        :param: payload: HTTP payload request

        :returns url, headers and the sanitized payload
        """
        if BugzillaClient.PBUGZILLA_LOGIN in payload:
            payload.pop(BugzillaClient.PBUGZILLA_LOGIN)

        if BugzillaClient.PBUGZILLA_PASSWORD in payload:
            payload.pop(BugzillaClient.PBUGZILLA_PASSWORD)

        if BugzillaClient.PLOGIN in payload:
            payload.pop(BugzillaClient.PLOGIN)

        return url, headers, payload
def sanitize_for_archive(url, headers, payload):
        """Sanitize payload of a HTTP request by removing the login and password information
        before storing/retrieving archived items

        :param: url: HTTP url request
        :param: headers: HTTP headers request
        :param: payload: HTTP payload request

        :returns url, headers and the sanitized payload
        """
        if BugzillaClient.PBUGZILLA_LOGIN in payload:
            payload.pop(BugzillaClient.PBUGZILLA_LOGIN)

        if BugzillaClient.PBUGZILLA_PASSWORD in payload:
            payload.pop(BugzillaClient.PBUGZILLA_PASSWORD)

        if BugzillaClient.PLOGIN in payload:
            payload.pop(BugzillaClient.PLOGIN)

        return url, headers, payload
def sanitize_for_archive ( url , headers , payload ) : if BugzillaClient . PBUGZILLA_LOGIN in payload : payload . pop ( BugzillaClient . PBUGZILLA_LOGIN ) if BugzillaClient . PBUGZILLA_PASSWORD in payload : payload . pop ( BugzillaClient . PBUGZILLA_PASSWORD ) if BugzillaClient . PLOGIN in payload : payload . pop ( BugzillaClient . PLOGIN ) return url , headers , payload
Sanitize payload of a HTTP request by removing the login and password information
        before storing/retrieving archived items

        :param: url: HTTP url request
        :param: headers: HTTP headers request
        :param: payload: HTTP payload request

        :returns url, headers and the sanitized payload
Sanitize payload of a HTTP request by removing the login and password information before storing / retrieving archived items