> The specs are not relevant here. I have to send this xml packet to
that
> server and CF4.5 and earlier didn't urlencode it. There is nothing in
> the spec that says cfhttpparam has to urlencode data instead of
> the programmer using urlEncodedFormat() around the data either. Which
> as you may know is how MSXML handles it. It assumes the developers
> knows what they are doing.
>
So if <cfhttp> didn't automatically encode the data then you would send
it over uuencoded against the specification? That hardly makes any
sense. I don't see how you can blame Macromedia for implementing the
specification. If you don't want to send data to spec then you best roll
your own solution. Further, I really don't think MSXML is a good example
considering how shitty of an implementation it is.

I'm not saying <cfhttp> is a good implementation either as <cfhttp> has
to be one of the buggiest tags CF has. However, in this case Macromedia
implemented the specification correctly.

> That's why this bug when reported during the CF5 betas should
> have been a relnote bugfix, and not fixed the way it was so CF can no
> longer talk to all the XML API's that expect http posted xml.
> 
It didn't get fixed because it is not a bug. You want a feature it
simply doesn't support.

> I think the raw xml stuff is great, but I personally have never had to
> integrate with an XML provider that wanted XML that way. It's always
> been HTTP GET's or POST's. I'd be willing to also bet that a quick
> poll of the most popular XML API's (UPS, USPS, Ebay, etc) the vast
> majority use HTTP POST or GET.
> 
I beg to differ. Most XML providers expect M-POSTs or PUTs. This is
because drafts of specifications like SOAP and HTTP 1.1 all pushed using
M-POSTs. Later, PUTs were determined to be better and now all the
specifications reflect that. However, there are still some people using
M-POSTs. Note, a M-POST is not the same as a POST. Specifically, the
encoding rules are different.

-Matt

______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
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