Il giorno 27/set/2010, alle ore 09.28, Frank ha scritto:
>
> I would like, or to authenticate and check the site, or add multiple
> status codes in the 'code_is_not' method (like [200, 401]). I could
> add an extra page outside of the protected zone but it feels wrong to
> check an extra page and not the application I'm trying to monitor.
Afaik god does support multiple status in both code_is and code_is_not:
200 or '200' or [200, 302] or %w{200 302}
http://rubydoc.info/github/mojombo/god/God/Conditions/HttpResponseCode
--
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.