• Upgrade your Internet Experience
  • Sign in
  • Microsoft.com
  • United States (English)
    Brasil (Português)Česká republika (Čeština)Deutschland (Deutsch)España (Español)France (Français)Italia (Italiano)Россия (Русский)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語)香港特别行政區 (中文)
 
 
.NET Framework Developer Center
 
 
Home
 
 
Library
 
 
Learn
 
 
Downloads
 
 
Support
 
 
Community
 
 
Forums
 
 
 
.NET Framework Developer Center > .NET Development Forums > .NET Framework Networking and Communication > HttpWebRequest Date Header inclusion problem
Ask a questionAsk a question
Search Forums:
  • Search .NET Framework Networking and Communication Forum Search .NET Framework Networking and Communication Forum
  • Search All .NET Development Forums Search All .NET Development Forums
  • Search All MSDN Forums Search All MSDN Forums
 

AnswerHttpWebRequest Date Header inclusion problem

  • Wednesday, March 15, 2006 12:03 PMEdmund Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0
    I am using HTTP Web Request.  It generally works fine, but I cannot set the date Header.
    If I try to set the Header manually, I get the error;
    "This header must be modified using the appropriate property."

    The help files state the date header is set by the system but I cannot work out how to trigger its inclusion.
     
    The end result is a POST request with no date Header

    Thanks in advance
    • ReplyReply
    • QuoteQuote
     

Answers

  • Thursday, March 16, 2006 7:22 PMJonCole - MSFTModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Vote As Helpful
    0
    The current implementation doesn't allow you to add this header to the request.  We will consider removing this restriction for the next release of the product.
    • ReplyReply
    • QuoteQuote
     

All Replies

  • Thursday, January 11, 2007 9:23 PMvictorb69 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0

    is the Date Header actually being sent while using HTTPWebRequest?

    or it is empty and not sent by the system either?

    • ReplyReply
    • QuoteQuote
     
  • Friday, January 12, 2007 9:49 AMEdmund Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0
    No Date Header was present in my tests
    • ReplyReply
    • QuoteQuote
     
  • Sunday, January 14, 2007 1:53 PMvictorb69 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0
    thanks, Edvard. in my tests either. to my understanding this is not resolvable on HTTP level and Microsoft is not gonna do anything about this? Seems the only solutionis to use TCPIPClient and SSLStream (in case of a secured socket)
    • ReplyReply
    • QuoteQuote
     
  • Sunday, January 14, 2007 1:59 PMvictorb69 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0
    Sorry, Edmund, for misspelling the name
    • ReplyReply
    • QuoteQuote
     
  • Wednesday, May 30, 2007 11:59 AMJoymach Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0

    Hi,

     

    I am facing the same problem as you guys already posted. Please help me out to solve "Date" header problem for WebRequest object or guide me if you have any workaround/alternative for this problem. It is a MUST field for my application and I am badly in need of response.

     

    Thanks in advance.

    • ReplyReply
    • QuoteQuote
     
Need Help with Forums? (FAQ)
 
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement