http
http copied to clipboard
Implement From<PathAndQuery> for Bytes
This allows getting a Bytes instance from a PathAndQuery without any copying.
This is a subset of #470.
Indeed, #470 seems to include this along with many other changes.
I'll leave this open for now; at least until there's some feedback for #470.