Skip to content

add export folder #63

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

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from
Draft

add export folder #63

wants to merge 2 commits into from

Conversation

jryurkanin
Copy link
Contributor

Rationale

this will permit users to easily export folder archives on a regular basis.

Related Pull Requests

Changes

  • added export_folder function to the containers API.

@jryurkanin
Copy link
Contributor Author

This needs some polish, but more importantly, I realized that it isn't going to work without editing ServerContext.make_request. That helper function adds the CSRF token to the header, but it needs to add the CSRF token to the payload for this export_folder function.

If the CSRF token is put in the post header, then the response content is the webpage, not the exported folder archive.

@jryurkanin
Copy link
Contributor Author

Okay, turns out that isn't the issue.

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

Successfully merging this pull request may close these issues.

1 participant