From eb53edf5762c1546f0b15acec7d533d7dfaf7d0e Mon Sep 17 00:00:00 2001 From: Mark Wright Date: Mon, 22 Feb 2016 11:53:44 -0800 Subject: [PATCH] Added a note about getting a 301 when using httpie and forgetting to add a trailing slash to a url --- docs/tutorial/1-serialization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/1-serialization.md b/docs/tutorial/1-serialization.md index 239d54204..470fc85a3 100644 --- a/docs/tutorial/1-serialization.md +++ b/docs/tutorial/1-serialization.md @@ -331,7 +331,7 @@ You can install httpie using pip: pip install httpie -Finally, we can get a list of all of the snippets: +Finally, we can get a list of all of the snippets (note the trailing / on the snippets/ url below. If you don't include it you may get a confusing '301 Moved Permanently' response because Django's default behavior is to redirect to a url with a trailing /): http http://127.0.0.1:8000/snippets/