HttpWebResponse can't handle duplicate http header

  • Thread starter Thread starter MrJun
  • Start date Start date
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
 
Back
Top