checked in support for form-urlencoded

2008-01-12 @ 21:39#

earlier today i checked in support for application/x-form-urlencoded mimetype for exyus. that means it's possible to support typical HTML FORM POST scenarios without writing a special class. in the process, i cleared up how to support redirects on POST/PUT. previously i was a bit haphazard on this behavior. since most of my early implementations were for Ajax-type clients, there was no need to bother with redirects. in fact, i did *want* them since it made things messy on the client side.

now, the XmlFileResource class has two new boolean properties:

  • RedirectOnPost
  • RedirectOnPut

i didn't add this for DELETE. wonder if that's needed...

code