title: Problem in Multiple Set-Cookies in httpwebrequest Header
body: <p>I try to login amazon.com using C# <code>HTTPWebRequest</code> class, i can login but not able to read multiple set-cookies in header</p>
  
  <p>When the server responds with multiple "Set-Cookie:"-headers, only the first one becomes available to me in header</p>
  
  <p><strong>Web Response in HTTPWebRequest</strong></p>
  
  <pre><code>    Set-Cookie: x-main=Yvi4723B?Nk5zuPPCZ0?66eGEI5kVnOM; path=/; domain=.amazon.com; 
  expires=Wed May 25 13:20:05 2011 GMT
  </code></pre>
  
  <p>How to get all  "Set-Cookie:" in header using <code>HTTPWebRequest</code> class??</p>
  
  <p><strong>Web Response in HTTP Live Header</strong></p>
  
  <pre><code>    Set-Cookie: x-main=Yvi4723B?Nk5zuPPCZ0?66eGEI5kVnOM; path=/; domain=.amazon.com; 
  expires=Wed May 25 13:20:05 2011 GMT
  
  Set-Cookie:atmain=4|WzNBbofyvkTvUaivgd9aS0Tzy0V2MJoUy+gJVcZ4szMhpt+gEyrRyLfUEodtZBKdn9vyJQJ3szoLgO12SUrB5XYqJ/tggOPurUepz5qsd6eg2V6vfbE0X1HQKp03xVkYLPEH5MDhmkMevQgkv36FyY+zA6HN5LzlM92+4kGu6wHeIILZ5+y/dtoYU/uORs1hC9hEo5iwP8Mljg4hDx7b/g==; path=/; domain=.amazon.com; expires=Wed May 25 13:20:05 2011 GMT; secure
  
  Set-Cookie: ubid-main=182-3549292-6045052; path=/; domain=.amazon.com; expires=Wed May 25 13:20:05 2011 GMT
  </code></pre>
  
  <p>I am looking forward your reply,</p>
  
  <p>Thanks in advance.......</p>