Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite Telnet --- why doesn't it have set-cookie?? #88

Open
haoqili opened this issue Aug 4, 2011 · 0 comments
Open

Rewrite Telnet --- why doesn't it have set-cookie?? #88

haoqili opened this issue Aug 4, 2011 · 0 comments

Comments

@haoqili
Copy link
Owner

haoqili commented Aug 4, 2011

$ telnet 127.0.0.1 8000
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET /en-US/msw/set_cookie_httponly/demo/ HTTP/1.1

HTTP/1.0 302 FOUND
Date: Thu, 04 Aug 2011 03:38:47 GMT
Server: WSGIServer/0.1 Python/2.7.1
Vary: Cookie
x-frame-options: DENY
X-Content-Security-Policy: allow 'self' https://api-secure.recaptcha.net https://www.google.com http://www.google.com http://haoqili.scripts.mit.edu https://fpdownload.macromedia.com http://www.adobe.com; img-src 'self' http://HaoQis-MacBook-Pro.local https://api-secure.recaptcha.net https://www.google.com http://www.google.com http://haoqili.scripts.mit.edu https://fpdownload.macromedia.com http://www.adobe.com https://static-cdn.addons.mozilla.net https://statse.webtrendslive.com https://www.getpersonas.com; script-src 'self' http://HaoQis-MacBook-Pro.local https://api-secure.recaptcha.net https://www.google.com http://www.google.com http://haoqili.scripts.mit.edu https://fpdownload.macromedia.com http://www.adobe.com https://static-cdn.addons.mozilla.net https://www.paypalobjects.com; object-src 'none' https://www.google.com http://www.google.com; media-src 'none' https://www.google.com http://www.google.com https://fpdownload.macromedia.com http://www.adobe.com; frame-src * https://www.google.com http://www.google.com https://s3.amazonaws.com https://getsatisfaction.com https://fpdownload.macromedia.com http://www.adobe.com; font-src 'self' fonts.mozilla.com www.mozilla.com; style-src 'self' http://HaoQis-MacBook-Pro.local https://static-cdn.addons.mozilla.net; frame-ancestors 'self' https://fpdownload.macromedia.com http://www.adobe.com
Content-Type: text/html; charset=utf-8
Location: http://localhost:8000/msw/templates?next=/en-US/msw/set_cookie_httponly/demo/

Connection closed by foreign host.

server says

[03/Aug/2011 20:38:47] "GET /en-US/msw/set_cookie_httponly/demo/ HTTP/1.1" 302 0

Perhaps I have to send multiple requests?

what I see on server when visiting the page from a browser:

[03/Aug/2011 20:38:58] "GET /en-US/msw/set_cookie_httponly/demo/ HTTP/1.1" 200 7239
[03/Aug/2011 20:38:58] "GET /media/css/msw/main.css HTTP/1.1" 304 0
[03/Aug/2011 20:38:58] "GET /media/js/libs/jquery-1.6.2.min.js HTTP/1.1" 304 0
[03/Aug/2011 20:38:58] "GET /media/js/msw/httponly_viewcookie.js HTTP/1.1" 304 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant