Jesse, by george I've been screaming about cfhttp forever. :)

1) The most glaring problem is that cfhttpparam automatically urlencodes
all form fields. This obviously creates all sorts of problems with xml
packets. I can tell you that both UPS, and Tech-Data's xml api's have
no clue what to do with a urlencoded xml packet. I am sure there are
others.
This used to be fine in 4.5, but was changed in 5, I'd bet because
somebody reported that cfhttp didn't correctly pass form fields if a
form field value included an ampersand. At most that is a relnote
bug...and shouldn't have been fixed by urlencoding all form posts
imho. You wouldn't believe how much time this particular bug cost me,
so I am understandably bitter about it :)

2) cfhttp does not allow me to set http headers. Again, this is
required for most XML transactions. Specifically text/xml is required
for quite a few xml apis.

Some work was done with cfhttp in MX that basically allowed it to dump
xml to an ip:port and get back a reply...well that's nice, but I
personally have never worked with and XML api that didn't use http, so
that is no help to me.


-- 
 Jon
 mailto:[EMAIL PROTECTED]

Friday, July 26, 2002, 3:19:38 PM, you wrote:
JN> Actually I would be interested to hear what the problems you have with cfhttp are.

JN> (it was prolly already sent ot the list, yes, but I tend to skim threads)

JN> Jesse Noller
JN> [EMAIL PROTECTED]
JN> Macromedia Server Development
JN> Unix/Linux "special guy" 

>> -----Original Message-----
>> From: Jon Hall [mailto:[EMAIL PROTECTED]]
>> Sent: Friday, July 26, 2002 2:51 PM
>> To: CF-Talk
>> Subject: Re: It's official: CFMX is 10% faster than CF5
>> 
>> In two of my major apps that I've been able to test, both
>> have seen about a 100% increase in page execution with a single user.
>> Even with debugging on. I'm quite happy with the speed.
>> My main beef with MX is the broken COM support, which means that I
>> can't use MSXML, which I use all the time since cfhttp is a pos. So we
>> can't upgrade any servers, and have to wait for a new server to come
>> online to install MX on.
>> 
>> --
>>  Jon
>>  mailto:[EMAIL PROTECTED]

______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to