Skip to content

Commit fb282e1

Browse files
authored
Merge pull request #7 from tus/client-behavior
Relax recommendations on client behavior
2 parents d0bc9e7 + 9799388 commit fb282e1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 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,8 @@ 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 calculation or encoding of the digest value.
118+
This problem type indicates a fault in the sender's calculation or encoding of the digest value. A retry of the same request without modification will likely not yield a successful response.
119+
119120

120121
## Mismatching Digest Value
121122

@@ -138,7 +139,7 @@ Content-Type: application/problem+json
138139
}
139140
~~~
140141

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.
142+
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.
142143

143144
# Security Considerations
144145

0 commit comments

Comments
 (0)