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

Add UPLOAD_RETRY header to response on failed upload #9

Open
4 tasks
JosiahBull opened this issue Aug 26, 2022 · 0 comments
Open
4 tasks

Add UPLOAD_RETRY header to response on failed upload #9

JosiahBull opened this issue Aug 26, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@JosiahBull
Copy link
Contributor

Issue

Description

As per the OpenAPI spec, in the event an upload files to the api, it should provide a new URL in a UPLOAD_RETRY header so the agent can try the upload again.

Tasks/General Thoughts

  • Add UPLOAD_RETRY header
  • Add test to ensure it isn't there on successful uploads
  • Add test to ensure header appears after 1 failed attempt
  • Add test to make sure that after 2 failed try it fails outright without a new header
@JosiahBull JosiahBull added the enhancement New feature or request label Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant