Whow, thanks! Maybe I should get some coffee before bothering everyone with my stupid questions.
I didn't find the API documentation yet and the site wasn't really answering my questions. Thanks a lot, this will help me and sorry for the stupid question! On Sep 27, 10:01 am, Claudio Poli <[email protected]> wrote: > 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.
