Is anyone aware of how to set the following POST header: "POST /authorize HTTP/1.0" ?

I'm sending a file to a special site that requires "POST /authorize HTTP/1.0" mime header.


********************response.cfm********************** <cfheader name="MIME-Version" value="1.0"> <cfheader name="Content-type" value="application/xx"> <cfheader name="Content-length" value="#Len(trim(xmlFile))#"> <cfheader name="Content-transfer-encoding" value="text"> <cfheader name="Request-number" value="1"> <cfheader name="Document-type" value="Request">

<cfhttp url="#postURL#" method="post" port="443">
<cfhttpparam type="file" name="xmlFile" file="#getDirectoryFromPath(getCurrentTemplatePath())#response_post.xml">
</cfhttp>



********************response_post.xml**********************
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE Request SYSTEM "Request_xx.dtd">
<Request>
....
</Request>
******************************************


And I am getting "Mime header data invalid" in the response.

Any help will be appreciated.

_________________________________________________________________
E-mail just got a whole lot better. New ninemsn Premium. Click here http://ninemsn.com.au/premium/landing.asp



--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to