M
Mark
Is there any easy way to get the raw headers (byte[])?
We've got a routine that wants to check the referrer for certain query
string parameters. At the moment, it gets Request.UrlReferrer, then skims
through the Uri.Query string looking at the name/value pairs.
It's doing a Server.UrlDecode() on both the name and value portions of the
pair, but UrlDecode() doesn't have an UrlDecode(string, start, len) overload
- just an UrlDecode(byte[], start, len, encoding) one.
In general, I was poking around the docs and didn't see any obvious way of
getting the raw bytes of a given header. Is there such a thing?
Thanks
Mark
We've got a routine that wants to check the referrer for certain query
string parameters. At the moment, it gets Request.UrlReferrer, then skims
through the Uri.Query string looking at the name/value pairs.
It's doing a Server.UrlDecode() on both the name and value portions of the
pair, but UrlDecode() doesn't have an UrlDecode(string, start, len) overload
- just an UrlDecode(byte[], start, len, encoding) one.
In general, I was poking around the docs and didn't see any obvious way of
getting the raw bytes of a given header. Is there such a thing?
Thanks
Mark