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

Make document upload method flexible #238

Merged
merged 5 commits into from
Dec 7, 2023
Merged

Make document upload method flexible #238

merged 5 commits into from
Dec 7, 2023

Conversation

pmeier
Copy link
Member

@pmeier pmeier commented Dec 7, 2023

Unfortunately, #186 was not enough. While we can use PUT to actually upload the document, other backends, e.g. AWS S3, need to use POST. To support both use cases, we extend the functionality of the document upload info to also return the method the end user needs to use. Basically, we are providing the full request parameters.

@pmeier pmeier merged commit c83fb9f into main Dec 7, 2023
10 checks passed
@pmeier pmeier deleted the put2post branch December 7, 2023 22:13
pmeier added a commit that referenced this pull request Dec 7, 2023
Conflicts:
	ragna/_api/core.py
	ragna/deploy/_api/core.py
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.

1 participant