Re: Camping and ruby2ruby

2007-09-28 Thread Jonas Pfenniger
2007/9/28, MenTaLguY [EMAIL PROTECTED]: Perhaps condensing ? Yes, with a little touch of artistic sense added :) Cheers, zimbatm ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: PUT (and friends) bug?

2007-09-28 Thread Nathaniel Talbott
On 9/28/07, Lennon Day-Reynolds [EMAIL PROTECTED] wrote: I honestly wouldn't expect PUT (or any other HTTP actions other than GET, POST, and HEAD) to pass the input through a normal form-decoding step -- most of the time, the payload for a PUT is going to be XML, JSON, or even raw binary.

Re: PUT (and friends) bug?

2007-09-28 Thread Aria Stewart
On Fri, 2007-09-28 at 22:50 +0200, Jonas Pfenniger wrote: 2007/9/28, Nathaniel Talbott [EMAIL PROTECTED]: As far as I can tell, sending an actual HTTP PUT request to a Camping app will never parse the params out of the request body - or am I going nuts? No you aren't at all. Actually,

Re: putting away HashWithIndifferentAccess

2007-09-28 Thread Jonas Pfenniger
2007/9/27, why the lucky stiff [EMAIL PROTECTED]: Well, case-sensitiveness would be a prob with 1.5 as well. Since @env.HTTP_HOST will work and @env.http_host will not. True. So what do you think of the attached patch ? It removes roughly 50 octets to camping.rb and seems to work pretty well,

Re: PUT (and friends) bug?

2007-09-28 Thread Brendan Taylor
On Fri, Sep 28, 2007 at 03:22:23PM -0400, Nathaniel Talbott wrote: As far as I can tell, sending an actual HTTP PUT request to a Camping app will never parse the params out of the request body - or am I going nuts? This code seems to say only POST's will parse the request body: elsif