Page 1 of 1

Jadehttp.dll and Headers

Posted: Fri Aug 07, 2009 2:29 pm
by ConvertFromOldNGs
by JasonDaynes >> Thu, 14 Sep 2000 1:06:07 GMT

Hi,

Has anydoby else out there been able to send stuff out through the jadehttp.dll other than that of "Content-Type: text/html". One type that springs to mind would be "Content-Type: text/vnd.wap.wml". And if there is a way, what is it?

Cheers

Jason

Re: Jadehttp.dll and Headers

Posted: Fri Aug 07, 2009 2:29 pm
by ConvertFromOldNGs
by Kevin Alcock >> Thu, 14 Sep 2000 22:22:08 GMT

Hi Jason,

If you do a writeBinary on an InternetPipe and prefix your data with "Content-Type: text/vnd.wap.wml" the jadehttp.dll will output that instead of "Content-Type: text/html". Be sure to use "Content-Type:" in the same case as "Content-type: " will not work.

Happy WAPing,

Kevin
--
kalcock@cardinal.co.nz
Cardinal Consultants
Ph: +64 3 365 2266 x3086