Support references in hawk::Header
djmitche opened this issue · comments
This is currently all owned data. #1 upgraded Hyper to 0.11, so this isn't necessary anymore.
How unnecessary is this, and will other frameworks require it? The idea here would be that "somestr".from_str()
would (optionally?) return a struct containing a reference to the original string and return slices of it where possible using accessor functions. Will hyper let us hold that reference that long? Or will hyper move a String for us?