PUT (and friends) bug?

Nathaniel Talbott nathaniel at talbott.ws
Fri Sep 28 15:22:23 EDT 2007


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 @method == "post" and \
      e.CONTENT_TYPE == "application/x-www-form-urlencoded"
    q.u(C.qsp(@in.read))
  end

I looked for an easy spot to stick a test case, but didn't come up
with one... can anyone else confirm that this is an issue?


-- 
Nathaniel Talbott
<:((><


More information about the Camping-list mailing list