Method: Nitro::Request#raw_body
- Defined in:
- lib/nitro/cgi/request.rb
#raw_body ⇒ Object
The raw data of the request. Useful to implement Webservices. – FIXME: better name and implementation. ++
266 267 268 269 270 271 272 273 |
# File 'lib/nitro/cgi/request.rb', line 266 def raw_body unless @raw_body @in.rewind @raw_body = @in.read(content_length) end @raw_body end |