PowerNap v 0.9.0 Released

0.9.0 * BIG Thanks to Brian Ghidinelli for providing most of the fixes / enhancements that are included in this latest release.

* Bug fixes for PUT and DELETE operations - can now convert PUT/DELETE content bodies to a key arguments.resource. May need further adjustment to accomodate file uploads.

* Added feature that allows protected Resource to reference the username that was passed into the header via <cfargument name="auth_username" />.

* Changed default response from application/xml to text/xml.

* Changed API attribute "reload" value to "true" so that switching back and forth between ColdSpring and non-Coldspring managed resources will not throw an error.

* Various whitespace-content bugs fixed.

* Added support for HTTP Accept header to specify format, defined in the same way as other formats: format().withExtension("application/vnd.pukkasoft+xml").willRespondWith("application/xml").calls("getAsXML") (even though 'withExtension' isn't completely accurate in its description.)

* Fixed bug in URL Matcher RegExp that was preventing URIs like: /payments/[uuid].xml from picking up the ".xml".

* Added Kevin Miller's xml/json/cf conversion utils library with his permission, integrated it into Engine.cfc.

* Automatic conversion from XML/JSON to an argument collection. Now if you send a JSON/XML representation as the body of a PUT/POST/DELETE, we will automatically deserialize and convert it to arguments so it behaves just like a POST with application/x-www-form-urlencoded. Your resources can expect arguments.* instead of an arbitrary arguments.resource.

* Now returns a 415 Unsupported Media Type when the format requested is not a valid representation for a resource.

* Changed Representation.cfc to return 415 Unsupported Media Type instead of throwing a powernap.core.Representation.AbstractCallException. Also added onMissingMethod to return a 415 for any other representation methods that don't exist.

* Added support for tunnelling PUT/DELETE requests via POST by adding a URL parameter _method=PUT|DELETE.

* Updated documentation to give examples and document new features.

* Added attribution for ConversionUtils.cfc.

* Improve RegExp for authentication so we can include punctuation characters in usernames/passwords. I believe the only requirement is that a : is not included so the RegExp now supports that. Also peeled off the method ("Basic" in this version) in case someone wants to do something more complex in the future. Updated example in hello_world to match.

* Removed read-only CFLOCK on 'endpoints.cfm'.

* Fix Hello World examples not working by improving content-negotiation support. Now supports Accept headers with a list of possible content-types and (optional) preferences. Changed the order of priority to have URL .xml or .json trump the Accept header. This is necessary for browser-based examples to work which always send a (potentially non-optimal for REST) Accept header.

* Fixed a bug with simpleRepresentation() so that developers no longer have to indicate a '.txt' format when returning SimpleRepresentation.

Anka's Gravatar Thank you very much for sharing all this important information with us all! I am very glad that i bumped into this post. It is very useful what i read here. It's great that you fixed all those bugs. I am more than sure that now will run smoothly.

# Posted By Anka | 4/18/12 6:18 AM
cheap wholesale snapback hats's Gravatar ://www.snapbackswholesale.net/

You should look around the different shops to find the cheap wholesale snpbacks. There is a huge supply of these hats since they have a made a style statement once again. There are many online stores that offer huge discounts. Surf around to find such stores if you want to buy the cheap wholesale snapback hats. You can use them while you go out with your friends or playing a sport of your choice. It is ideal for everyday use. Look at the different designs available across different shops before making the final choice.
# Posted By cheap wholesale snapback hats | 5/1/12 6:42 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.5.006. | Protected by Akismet | Blog with WordPress