Skip to content

Commit

Permalink
Update httpbin/core.py
Browse files Browse the repository at this point in the history
302 instead of 301 redirect in docs for def relative_redirect_n_times
  • Loading branch information
josher19 committed Sep 10, 2012
1 parent cfbee2b commit 24488f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httpbin/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def redirect_n_times(n):

@app.route('/relative-redirect/<int:n>')
def relative_redirect_n_times(n):
"""301 Redirects n times."""
"""302 Redirects n times."""

assert n > 0

Expand Down

0 comments on commit 24488f8

Please sign in to comment.