Fazer uma PerguntaFazer uma Pergunta
 

RespondidoHttpWebRequest Date Header inclusion problem

  • quarta-feira, 15 de março de 2006 12:03Edmund Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    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

Respostas

  • quinta-feira, 16 de março de 2006 19:22JonCole - MSFTModeradorMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     Respondido
    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.

Todas as Respostas

  • quinta-feira, 16 de março de 2006 19:22JonCole - MSFTModeradorMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     Respondido
    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.
  • quinta-feira, 11 de janeiro de 2007 21:23victorb69 Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    is the Date Header actually being sent while using HTTPWebRequest?

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

  • sexta-feira, 12 de janeiro de 2007 9:49Edmund Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    No Date Header was present in my tests
  • domingo, 14 de janeiro de 2007 13:53victorb69 Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    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)
  • domingo, 14 de janeiro de 2007 13:59victorb69 Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Sorry, Edmund, for misspelling the name
  • quarta-feira, 30 de maio de 2007 11:59Joymach Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    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.