mirror of
https://github.com/kennethreitz/httpbin.git
synced 2026-06-05 23:00:18 +00:00
Update httpbin/core.py
302 instead of 301 redirect in docs for def relative_redirect_n_times
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user