Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
rles-Romestant-MacBook-Air:openid-test cromestant$ curl -v "http://test.tigocloud.net/cookies.php" -c much.txt >/dev/null
* Hostname was NOT found in DNS cache
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 54.226.23.239...
* Connected to test.tigocloud.net (54.226.23.239) port 80 (#0)
> GET /cookies.php HTTP/1.1
> User-Agent: curl/7.37.1
> Host: test.tigocloud.net
> Accept: */*
>
< HTTP/1.1 302 Moved Temporarily
* Server nginx is not blacklisted
< Server: nginx
< Date: Wed, 01 Apr 2015 15:59:03 GMT
< Content-Type: text/html
< Transfer-Encoding: chunked
< Connection: keep-alive
< Keep-Alive: timeout=10
< X-Powered-By: PHP/5.3.23-1~dotdeb.0
* Added cookie CHARZID="this is ma cookie" for domain test.tigocloud.net, path /, expire 0
< Set-Cookie: CHARZID=this is ma cookie; path=/
< Location: http://www.google.com
<
{ [data not shown]
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
* Connection #0 to host test.tigocloud.net left intact
Charles-Romestant-MacBook-Air:openid-test cromestant$ curl -v "http://test.tigocloud.net/cookies2.php" -c much2.txt >/dev/null
* Hostname was NOT found in DNS cache
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 54.226.23.239...
* Connected to test.tigocloud.net (54.226.23.239) port 80 (#0)
> GET /cookies2.php HTTP/1.1
> User-Agent: curl/7.37.1
> Host: test.tigocloud.net
> Accept: */*
>
< HTTP/1.1 302 Moved Temporarily
* Server nginx is not blacklisted
< Server: nginx
< Date: Wed, 01 Apr 2015 15:59:06 GMT
< Content-Type: text/html
< Transfer-Encoding: chunked
< Connection: keep-alive
< Keep-Alive: timeout=10
< X-Powered-By: PHP/5.3.23-1~dotdeb.0
* Added cookie CHARZID="" for domain test.tigocloud.net, path /, expire 0
< Set-Cookie: CHARZID = this is ma cookie; path=/
< Location: http://www.google.com
<
{ [data not shown]
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
* Connection #0 to host test.tigocloud.net left intact
Charles-Romestant-MacBook-Air:openid-test cromestant$ cat much2.txt much.txt
# Netscape HTTP Cookie File
# http://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
test.tigocloud.net FALSE / FALSE 0 CHARZID
# Netscape HTTP Cookie File
# http://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
test.tigocloud.net FALSE / FALSE 0 CHARZID this is ma cookie
Charles-Romestant-MacBook-Air:openid-test cromestant$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.