Skip to content

Commit 5502f95

Browse files
committed
Relax recommendation on client behavior
Closes tus/draft-digest-fields-problem-types#3.
1 parent bc8b8e5 commit 5502f95

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

draft-kleidl-digest-fields-problem-types.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Content-Type: application/problem+json
9595
}
9696
~~~
9797

98-
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.
98+
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.
9999

100100
## Invalid Digest Value
101101

@@ -115,7 +115,7 @@ Content-Type: application/problem+json
115115
}
116116
~~~
117117

118-
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.
118+
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.
119119

120120
## Mismatching Digest Value
121121

@@ -138,7 +138,7 @@ Content-Type: application/problem+json
138138
}
139139
~~~
140140

141-
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.
141+
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.
142142

143143
# Security Considerations
144144

0 commit comments

Comments
 (0)