HttpClient Headers, missing Date support

Topics: Web Api
Dec 1, 2010 at 4:24 PM

Hi,

   I've been using the RSK and have been trying to send a date along in the Date header when using Httpclient. This fails with an inner exception of type NotSupportedSupportedException that doesn't seem to have been addressed in the WCF Web API Preview 1. Can anyone shed a little more light into this problem and offer any work arounds?

 

Much appreciated,

  Travis

 

 

Feb 5, 2011 at 12:31 AM

The Date header is generated automatically for you.   There is no need to set this.