Kaydet (Commit) 1b5b3710 authored tarafından Eric Theise's avatar Eric Theise Kaydeden (comit) Tim Graham

Added some shell output in tutorial 2.

üst 0ea32119
...@@ -361,6 +361,7 @@ With that ready, we can ask the client to do some work for us:: ...@@ -361,6 +361,7 @@ With that ready, we can ask the client to do some work for us::
>>> # get a response from '/' >>> # get a response from '/'
>>> response = client.get('/') >>> response = client.get('/')
Not Found: /
>>> # we should expect a 404 from that address; if you instead see an >>> # we should expect a 404 from that address; if you instead see an
>>> # "Invalid HTTP_HOST header" error and a 400 response, you probably >>> # "Invalid HTTP_HOST header" error and a 400 response, you probably
>>> # omitted the setup_test_environment() call described earlier. >>> # omitted the setup_test_environment() call described earlier.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment