Method: Compp::Sprinkler#process_http_request
- Defined in:
- lib/compp/sprinkler.rb
#process_http_request ⇒ Object
Called when a user send an HTTP request.
30 31 32 33 34 35 |
# File 'lib/compp/sprinkler.rb', line 30 def process_http_request orbitize("HTTP/1.0 200 OK")+ orbitize("Content-Type: text/xml") orbitize("Connection: close\r\n") orbitize( "<?xml version='1.0' encoding='utf-8' ?>") end |