diff options
| author | Barry Warsaw | 2016-02-15 12:10:44 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2016-02-15 12:10:44 -0500 |
| commit | 6a8cbd3b1f3fb7f3806eadb131700091d32a31b4 (patch) | |
| tree | 7a9bd5753b098380fa01d2007c30209923a36f25 /src/mailman/chains/headers.py | |
| parent | 407adc0e44c7487e78643c5185c49f1a1bedd7d6 (diff) | |
| download | mailman-6a8cbd3b1f3fb7f3806eadb131700091d32a31b4.tar.gz mailman-6a8cbd3b1f3fb7f3806eadb131700091d32a31b4.tar.zst mailman-6a8cbd3b1f3fb7f3806eadb131700091d32a31b4.zip | |
Handle AlreadySubscribedError in REST.
When approving a subscription request via the REST API, for a user who is
already a member, return an HTTP 409 Conflict code instead of the previous
server traceback (and resulting HTTP 500 code).
Closes #193
Diffstat (limited to 'src/mailman/chains/headers.py')
0 files changed, 0 insertions, 0 deletions
