One are that has been improved upon in CFMX 6.1 (Redsky) is the CFHTTP tag. The implementation of the tag has been changed from using the URLConnection class to the HTTPClient implementation (not the Apache version). There are several improvements and now developers have full control of the HTTP requests that are sent out. Here are a few of the improvements.
- Supports all HTTP 1.1 operations (GET,POST,HEAD,PUT,DELETE,OPTIONS,TRACE)
- All operations are allowed to have CFHTTPParams
- Proxy Server support, including ProxyUser & ProxyPassword
- Supports SSL Proxy Tunneling
CFHTTPParam improvements
- Type=Header - allows full control of the HTTP headers
- Type=Body - Allows full control of content
- Type=XML - Full control of context (Hardwired Content-Type:text/xml
- Type=File - Explicit control of Mime types
Dear Brandon,
Not sure if you remember me OR if you are the same Brandon Purcell that used to work at the Computer Science School. If you are, could you please contact me at the e-mail address above? There is a problem with an End-of-Course Critique that our 1LT Purcell wrote and we are looking for some help or guidance.
Thanks for the consideration.
Tip
Geoff, Yes that is the code that is being used so you should be comfortable using CFHTTP now
Brandon, is this the HTTPClient class of http://www.innovation.ch/java/HTTPClient/ fame? Interestingly enough I used this for the Fullasagoog (http://www.fullasagoog.com/) imports when CFHTTP just wasn't up to scratch. Many things were fixed for U3 -- am interested to see what is under the hood of CFHTTP in RedSky.