Apache::Request.gets is private?
Curt Sampson <[email protected]> Wed, 1 Jun 2005 10:27:10 +0900 (JST)
| Newsgroups | gmane.comp.apache.mod-ruby |
|---|---|
| Message-ID | <[email protected]> |
I'm having a problem reading a request body. According to the documentation
at
http://modruby.net/en/index.rbx/mod_ruby/classes.html
there's a 'gets' method on an Apache::Request object that, when invoked with
nil, will return the entire body of the request. However, trying an
Apache.request.gets(nil) on a POST request throws:
NoMethodError: private method `gets' called for #<Apache::Request:0x82c73f0>
I have confirmed that request.method_number returns 2. Could this be
because I'm using libapreq, and it's reading and parsing the body? If
so, is there a way I can disable this so I can get the body?
cjs
--
Curt Sampson <[email protected]> +81 90 7737 2974 http://www.NetBSD.org
Make up enjoying your city life...produced by BIC CAMERA