Skip to content

Commit

Permalink
PoWeb: Use 422 Unprocessable Entity when parcel is wellformed but i…
Browse files Browse the repository at this point in the history
…nvalid
  • Loading branch information
gnarea committed May 14, 2021
1 parent c945b53 commit f4ef055
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rs016-poweb.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@ The server MUST respond with one of the following:

- `202 Accepted` if the parcel and its countersignature are both valid, and the parcel was successfully stored or forwarded.
- `400 Bad Request` if the parcel is malformed.
- `401 Unauthorized` if the countersignature was missing or invalid.
- `403 Forbidden` if the parcel was well-formed but invalid; e.g., the [RAMF](rs001-ramf.md) signature verification failed.
- `401 Unauthorized` if the countersignature was missing or malformed.
- `403 Forbidden` if the countersignature was invalid for the parcel.
- `422 Unprocessable Entity` if the parcel was well-formed but invalid; e.g., the [RAMF](rs001-ramf.md) signature verification failed.

### Parcel collection

Expand Down

0 comments on commit f4ef055

Please sign in to comment.