Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When Cargo.toml version not changed,cargo publish error. Response 500,body message is empty #78

Closed
baoyachi opened this issue Jul 26, 2020 · 3 comments · Fixed by #82
Closed
Labels
C-bug Category: Bug M-api Module: Programmatic API P-high Priority: High

Comments

@baoyachi
Copy link
Contributor

I just make a demo to publish crates name with h2-demo.

  • But when first exec cmd:cargo publish --registry=mycrates
    with version:0.1.0 Success.
  • When Cargo.toml version not changed, I just try exec cmd again:cargo publish --registry=mycrates,that publish response error,the message is :
error: failed to get a 200 OK response, got 500
headers:
	HTTP/1.1 100 Continue



	HTTP/1.1 500 Internal Server Error

	content-length: 0

	date: Sun, 26 Jul 2020 10:42:46 GMT



body:

It's bug with response message ,that message body is empty?

@baoyachi
Copy link
Contributor Author

fix body message from:#82

@Hirevo
Copy link
Owner

Hirevo commented Jul 31, 2020

Yes, this is indeed problematic and not what was intended, thanks for going ahead with a fix in #82 !

@Hirevo Hirevo added C-bug Category: Bug M-api Module: Programmatic API P-high Priority: High labels Jul 31, 2020
@Hirevo Hirevo linked a pull request Jul 31, 2020 that will close this issue
@baoyachi
Copy link
Contributor Author

All suggestion are resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: Bug M-api Module: Programmatic API P-high Priority: High
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants