Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 & 500 #14

Open
t1gor opened this issue May 12, 2015 · 3 comments
Open

404 & 500 #14

t1gor opened this issue May 12, 2015 · 3 comments

Comments

@t1gor
Copy link

t1gor commented May 12, 2015

What would be the correct config for checking 404 and 500 response codes?

I am trying to get 404 or 500 in my config:

defaults:
    http_codes: [200, 302]
    options:
        verb: GET

urls:
    - [http://example.com/404-url, 404]
    - [http://example.com/500-url, 500]

But it somehow returns 400 code... Did I miss something?

@mmoreram
Copy link
Contributor

@t1gor if you call http://example.com/500-url in your browser, what is the HTTP Code result?

@t1gor
Copy link
Author

t1gor commented May 15, 2015

@mmoreram, 404 and 500 for corresponding URLs. What did I miss?

@t1gor
Copy link
Author

t1gor commented May 29, 2015

@mmoreram , any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants