Skip to content

Commit

Permalink
Relax recommendation on client behavior
Browse files Browse the repository at this point in the history
Closes #3.
  • Loading branch information
Acconut committed Jul 8, 2024
1 parent bc8b8e5 commit 5502f95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions draft-kleidl-digest-fields-problem-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Content-Type: application/problem+json
}
~~~

If the sender receives this problem type, it SHOULD retry the request while picking another hashing algorithm. If the response includes an array of supported algorithms, it SHOULD choose one of them.
This problem type is a hint to the client about algorithm support, which the client could use to retry the request with a different algorithm supported by the server.

## Invalid Digest Value

Expand All @@ -115,7 +115,7 @@ Content-Type: application/problem+json
}
~~~

If the sender receives this problem type, it SHOULD NOT retry the request without modification. Such an error is likely rooted in a fault in the sender's computation or encoding of the digest value.
This problem type indicates a fault in the sender's computation or encoding of the digest value. A retry of the same request without modification will likely not yield a successful response.

## Mismatching Digest Value

Expand All @@ -138,7 +138,7 @@ Content-Type: application/problem+json
}
~~~

If the sender receives this problem type, the request might be modified unintentionally by an intermediary. The sender MAY retry the request without modification. However, if the sender continue receiving this problem type, it SHOULD stop retrying.
If the sender receives this problem type, the request might be modified unintentionally by an intermediary. The sender could use this information to retry the request without modification to address temporary transmission issues.

# Security Considerations

Expand Down

0 comments on commit 5502f95

Please sign in to comment.