Skip to content

Get item links#16

Open
halloju wants to merge 5 commits into
twonote:masterfrom
halloju:getItemLinks
Open

Get item links#16
halloju wants to merge 5 commits into
twonote:masterfrom
halloju:getItemLinks

Conversation

@halloju

@halloju halloju commented Oct 29, 2021

Copy link
Copy Markdown
Contributor

issue 7

@hrchu

hrchu commented Nov 1, 2021

Copy link
Copy Markdown
Member

This branch has conflicts that must be resolved.

Comment thread tests/integration_test_solid_api.py Outdated
Comment thread src/solid/solid_api.py Outdated
Comment thread src/solid/utils/api_util.py Outdated
Comment thread src/solid/utils/api_util.py Outdated
Comment thread src/solid/utils/api_util.py Outdated
def are_files(urls: List) -> bool:
pass

def get_links_from_response(response) -> dict:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-> Dict

else:
return parse_link_header(link_header, response.url)

def parse_link_header(link_header: str, item_url) -> Dict:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you prefer a Dict instead of Links here?

@hrchu

hrchu commented Nov 10, 2021

Copy link
Copy Markdown
Member

@halloju What server implementation do you test against?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants