Dear God users,

We've experienced problems on our server where the Mongrel application
server gives a "200 OK" header response but the body of the page has a
"Status: 500" error. It seems that Mongrel doesn't evaluate the
headers that are set. This behavior is present when communicating
directly to the Mongrel without a http-server in between.

Currently the God condition http_response_code.rb does not detect this
kind of behavior. I'm considering adding a new God condition
"http_response_body" that evaluates the first characters of body of
the page (Net::HTTP.get(URI.parse("localhost:#{port}/"))[0,11]).

Has anyone experienced the same problem? Does somebody has an
alternative solution then writing a new God condition?

Best regards,
Sytse Sijbrandij

AppAppeal.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"god.rb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/god-rb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to