Skip to content

AtUri.http should return an actual http string or be removed #664

@gabeklavans

Description

@gabeklavans

@property
def http(self) -> str:
"""Convert instance to HTTP URI."""
return str(self)

Right now it just returns the str representation, which seems to always return a string prefixed by at://

I think this property is a bit misleading, unless I'm totally missing something. I'd expect the return of this to be an http(s) url using the DidDocument resolver to get the proper PID base.

Let me know if this is meant for something else

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions