File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -340,8 +340,7 @@ responses should have a JSON object with the following structure:
340
340
If the response has this structure Cargo will display the detailed message to the user, even if the response code is 200.
341
341
If the response code indicates an error and the content does not have this structure, Cargo will display to the user a
342
342
message intended to help debugging the server error. A server returning an ` errors ` object allows a registry to provide a more
343
- detailed or user centric error message. The first release of Cargo to support registries Cargo 1.34 (released 2019-04-11) will only
344
- show a human readable error if the code is 200, this has been fixed in all versions since Cargo 1.35 (released 2019-05-23).
343
+ detailed or user-centric error message.
345
344
346
345
For backwards compatibility, servers should ignore any unexpected query
347
346
parameters or JSON fields. If a JSON field is missing, it should be assumed to
You can’t perform that action at this time.
0 commit comments