Skip to content
This repository has been archived by the owner on Oct 24, 2022. It is now read-only.

Sword deliveries should treat 202 as a success #369

Closed
JPrevost opened this issue Oct 1, 2015 · 0 comments · Fixed by #372
Closed

Sword deliveries should treat 202 as a success #369

JPrevost opened this issue Oct 1, 2015 · 0 comments · Fixed by #372
Assignees

Comments

@JPrevost
Copy link
Member

JPrevost commented Oct 1, 2015

Currently, we look explicitly for a 201 Created status. With workflow enabled, we will receive 202 Accepted codes. Both should be treated as a successful submission as far as the hub is concerned.

https://github.com/MITLibraries/topichub/blob/master/app/workers/Conveyor.scala#L264

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

Successfully merging a pull request may close this issue.

1 participant