Skip to content

Commit

Permalink
Auto merge of #13160 - Turbo87:crates-io-status-codes, r=weihanglo
Browse files Browse the repository at this point in the history
doc/registry-web-api: Adjust success response code documentation

see #13158 :)
  • Loading branch information
bors committed Dec 12, 2023
2 parents 1aa9df1 + 9cb5eed commit 73eeb84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/src/reference/registry-web-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ visit the registry's website to obtain a token, and Cargo can store the token
using the [`cargo login`] command, or by passing the token on the
command-line.

Responses use the 200 response code for success.
Responses use a 2xx response code for success.
Errors should use an appropriate response code, such as 404.
Failure
responses should have a JSON object with the following structure:
Expand Down

0 comments on commit 73eeb84

Please sign in to comment.