Open Demi-Marie opened 5 years ago
It would be quite difficult to get that error message in, since internally hyper simply drop
s the body, and the channel version doesn't have a way to know the difference.
If it doesn't already, we could include a log message about the ambiguity.
A log message might be a good idea.
https://github.com/hyperium/hyper/issues/1926 was correct, but “channel closed” is not a helpful error message. Adding a new error that means “Request body not allowed” would be a significant help to users of the library.