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

'internal error: missing mime' when echoing body without Content-Type #66

Open
tirr-c opened this issue Mar 7, 2020 · 1 comment
Open

Comments

@tirr-c
Copy link
Collaborator

tirr-c commented Mar 7, 2020

async_h1::accept panics with the following endpoint and request:

|req| async move {
    let mut res = Response::new(StatusCode::Ok);
    res.set_body(req);
    Ok(res)
}
POST / HTTP/1.1
content-length: 0

@tirr-c
Copy link
Collaborator Author

tirr-c commented Mar 8, 2020

Related PR: http-rs/http-types#83

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant