def METHOD_NAME(self):
    """
    Update the value of the self.web_uri field.
    Set self.web_uri to the "best" http(s) URL from self.document_uris.
    Set self.web_uri to None if there's no http(s) DocumentURIs.
    """
    def first_http_url(type_=None):
        """
        Return this document's first http(s) URL of the given type.
        Return None if this document doesn't have any http(s) URLs of the
        given type.
        If no type is given just return this document's first http(s)
        URL, or None.
        """
        for document_uri in self.document_uris:
            uri = document_uri.uri
            if type_ is not None and document_uri.type != type_:
                continue
            if urlparse(uri).scheme not in ["http", "https"]:
                continue
            return document_uri.uri
    self.web_uri = (
        first_http_url(type_="self-claim")
        or first_http_url(type_="rel-canonical")
        or first_http_url()
    )