HttpWebResponse can't handle duplicate http header

M

MrJun

Hi,

HttpWebResponse will just display the last value of
those same name http header.
Ex.
Aheader: a value
Bheader: b value
Cheader: c value 1
Cheader: c value 2
Cheader: c value 3
Dheader: d value

Retrieving the Cheader value by the headers property of
httpwebresponse will only return the "c value 3".

Is there any workaround?


Thanks
MrJun
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top