feat: Provide a way to treat the cookie as bytes
In some instances there can be an unrelated, invalid cookie which
prevents any cookies from being accessed as HeaderValue::to_str
returns None due to non-ascii characters. By providing a way to access
the cookie string as bytes there is an escape hatch to workaround this.
Feel free to close this if it isn't wanted. Treating the cookie as raw bytes definitely leaves some ambiguity as to what the right thing to do is.
i'd dont think this should be closed. i dont think this introduces ambiguity, as its nothing that happens by default. maybe if you want a "scarier" name you could call it "get_raw" instead. i think being able to gracefully handle cases such as you mentioned rather than fail completely is very useful.