Skip to content

Commit 016c6f9

Browse files
Eh2406ehuss
andauthored
not just 404
Co-authored-by: Eric Huss <eric@huss.org>
1 parent ad2b7b1 commit 016c6f9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/doc/src/reference/registries.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,9 @@ visit the registry's website to obtain a token, and Cargo can store the token
320320
using the [`cargo login`] command, or by passing the token on the
321321
command-line.
322322

323-
Responses should use the 200 or 404 response code as appropriate. Failure
323+
Responses use the 200 response code for success.
324+
Errors should use an appropriate response code, such as 404.
325+
Failure
324326
responses should have a JSON object with the following structure:
325327

326328
```javascript

0 commit comments

Comments
 (0)