From 1c31ef10db6af215dcf6e4d9ee02e1d2e77f5635 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 29 Apr 2012 17:35:17 -0400 Subject: [PATCH] examples --- README.rst | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index ecfd577..5e15d66 100644 --- a/README.rst +++ b/README.rst @@ -20,11 +20,15 @@ Usage is pretty simple:: If you make an HTTP request, it will automatically redirect:: - $ curl http://127.0.0.1:5000 - - Redirecting... -

Redirecting...

-

You should be redirected automatically to target URL: https://127.0.0.1:5000/. If not click the link.% + $ curl -I http://secure-samurai.herokuapp.com/ + HTTP/1.1 302 FOUND + Server: gunicorn/0.14.2 + Date: Sun, 29 Apr 2012 21:32:00 GMT + Connection: keep-alive + Content-Type: text/html; charset=utf-8 + Content-Length: 253 + Location: https://secure-samurai.herokuapp.com/ + Strict-Transport-Security: max-age=31536000 Install