A
Afanasiy
The expires date in a Set-Cookie header includes a comma in every
implementation I have seen or read documentation for. However, the CLR's
WebResponse Headers collection delimits headers of the same name with
commas. I thought I would get around this with the Headers collection
method GetValues("Set- Cookie"), but even at that point the headers have
already been corrupted by storage as a comma delimited string.
Is there a way around this with the CLR?
Basically, the WebResponse Header methods Get and GetValues are bugged
because they use a comma delimited string to store the headers.
I assume somewhere the real headers are available, but probably
not available in public. I assume this problem was allowed to occur
in the name of code reusability by way of the NameValueCollection.
Where can I report this bug?
Does anyone know of a workaround or a way to access the headers in
their raw line delimited form?
Is the CLR source available for perusing?
-AB
implementation I have seen or read documentation for. However, the CLR's
WebResponse Headers collection delimits headers of the same name with
commas. I thought I would get around this with the Headers collection
method GetValues("Set- Cookie"), but even at that point the headers have
already been corrupted by storage as a comma delimited string.
Is there a way around this with the CLR?
Basically, the WebResponse Header methods Get and GetValues are bugged
because they use a comma delimited string to store the headers.
I assume somewhere the real headers are available, but probably
not available in public. I assume this problem was allowed to occur
in the name of code reusability by way of the NameValueCollection.
Where can I report this bug?
Does anyone know of a workaround or a way to access the headers in
their raw line delimited form?
Is the CLR source available for perusing?
-AB