Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyPump assumes URLs #66

Open
tsyesika opened this issue Sep 9, 2013 · 1 comment
Open

PyPump assumes URLs #66

tsyesika opened this issue Sep 9, 2013 · 1 comment
Labels

Comments

@tsyesika
Copy link
Owner

tsyesika commented Sep 9, 2013

For the most part assuming the URLs is probably OK however, because pump provides the links in the link section of some API calls and also via some webfinger discovery endpoints, we probably should attempt to use those first if we can.

@tsyesika
Copy link
Owner Author

I think that there should be a object which produces URLs from wherever they might be. The initial stuff for example the client registration URL should be found at https://microca.st/.well-known/host-meta.json I could then just do URLs.client_registration.

This may actually fix #62 because class' wouldn't have ENDPOINT variables they would be found on this URL object with fairly descriptive names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant