Trevor Elliott
11/8/2006 6:37:00 PM
> Trevor Elliott wrote:
>> Hi Everyone,
>>
>> I encountered a strange problem when trying to write a cgi script to
>> handle a PUT/POST scenario for a set of REST-style web services I'm
>> writing in Ruby.
>
> There is no error, Ruby's CGI module ignores the query string when the
> method isn't GET. AFAIK, this is correct behaviour, you put all query
> parameters into the body of the request when using POST - no idea about
> PUT, that method only sees use with REST, which has been of only passing
> interest to me. [insert rant about HTTP flawedness and bending over
> business logic backwards to be stateless here]
>
>
> David Vallner
>
>
I had my suspicions after I posted the question, so thanks for confirming
them :) Given that this behavior had worked for me previously in other
situations, I just expected it to work here; I'll rethink my interaction
with the server.
-trevor elliott