Discussion:
HTTP Headers with HttpSendRequestEx
(too old to reply)
Theo Carr-Brion
2005-05-04 12:37:21 UTC
Permalink
I am using HttpSendRequestEx to POST a file with HTTPS. I want the header
"Content-Type=text/xml". What is the recommended way of doing this? The
INTERNET_BUFFERS has a header member but could I also use
HttpAddRequestHeaders?

Thanks,

Theo Carr-Brion
Reymarx Gereda
2005-05-16 04:27:35 UTC
Permalink
You can do it either way and it will work, both of them will add the header
to the Request header.

Hope this information helps you


Reymarx [MSFT]
Windows- Networking
This posting is provided "AS IS" with no warranties, and confers no rights
Post by Theo Carr-Brion
I am using HttpSendRequestEx to POST a file with HTTPS. I want the header
"Content-Type=text/xml". What is the recommended way of doing this? The
INTERNET_BUFFERS has a header member but could I also use
HttpAddRequestHeaders?
Thanks,
Theo Carr-Brion
Eric_B
2005-05-27 06:21:26 UTC
Permalink
Post by Reymarx Gereda
You can do it either way and it will work, both of them will add
the header to the Request header.
Hope this information helps you
Reymarx [MSFT]
Windows- Networking
This posting is provided "AS IS" with no warranties, and confers no rights
Post by Theo Carr-Brion
I am using HttpSendRequestEx to POST a file with HTTPS. I want
the header "Content-Type=text/xml". What is the recommended way
of doing this? The INTERNET_BUFFERS has a header member but
could I also use HttpAddRequestHeaders?
Thanks,
Theo Carr-Brion
Hi,
I want to do the following thing :
Send file with httpsendrequestex, it's run fine on VB6
I want to translate into eVB, and eVB do not want INTERNET_BUFFERS
structure type.
How can i do , use requestheader ? how ?

Thanks for help
(sorry for my english)

Loading...