Page MenuHomePhabricator
Paste P2548

Test no cache on account autocreation
ActivePublic

Authored by Tgr on Jan 31 2016, 4:14 PM.
Tags
None
Referenced Files
F3297208: Test no cache on account autocreation
Feb 24 2016, 5:27 AM
Subscribers
None
$ curl -sD- -H 'X-Wikimedia-Debug: 1' -d 'format=json&action=createaccount&name=SessionManager-test-23&password=123' 'http://meta.wikimedia.org/w/api.php'
HTTP/1.1 200 OK
Server: Apache
X-Powered-By: HHVM/3.6.5
X-Content-Type-Options: nosniff
Cache-control: private, must-revalidate, max-age=0
P3P: CP="This is not a P3P policy! See https://meta.wikimedia.org/wiki/Special:CentralAutoLogin/P3P for more info."
X-Frame-Options: DENY
Vary: Accept-Encoding
Set-Cookie: metawikiSession=l44kqjah4l3u120d96dikec5ji34clsf; path=/; httponly
Set-Cookie: forceHTTPS=true; path=/; httponly
Content-Type: application/json; charset=utf-8
X-Varnish: 1002526844, 762884899
Via: 1.1 varnish, 1.1 varnish
Transfer-Encoding: chunked
Date: Sun, 31 Jan 2016 16:03:37 GMT
Age: 0
Connection: keep-alive
X-Cache: cp1053 pass+chfp(0), cp1067 frontend pass+chfp(0)
Set-Cookie: WMF-Last-Access=31-Jan-2016;Path=/;HttpOnly;Expires=Thu, 03 Mar 2016 12:00:00 GMT
X-Analytics: nocookies=1
X-Client-IP: 70.90.203.155
Set-Cookie: GeoIP=US:NM:Las_Cruces:32.25:-106.82:v4; Path=/; Domain=.wikimedia.org
{"createaccount":{"token":"7ccd5c3389d67cbbfc9de923ddbf5ab3","result":"NeedToken"}}
$ curl -sD- -H 'X-Wikimedia-Debug: 1' -H 'Cookie: metawikiSession=l44kqjah4l3u120d96dikec5ji34clsf' -d 'format=json&action=createaccount&name=SessionManager-test-23&password=123&token=7ccd5c3389d67cbbfc9de923ddbf5ab3' 'http://meta.wikimedia.org/w/api.php'
HTTP/1.1 200 OK
Server: Apache
X-Powered-By: HHVM/3.6.5
X-Content-Type-Options: nosniff
Cache-control: private, must-revalidate, max-age=0
X-Frame-Options: DENY
Vary: Accept-Encoding
Set-Cookie: UseDC=master; expires=Sun, 31-Jan-2016 16:05:22 GMT; Max-Age=10; path=/; httponly
Set-Cookie: UseCDNCache=false; expires=Sun, 31-Jan-2016 16:05:22 GMT; Max-Age=10; path=/; httponly
Content-Type: application/json; charset=utf-8
X-Varnish: 3881329855, 763246359
Via: 1.1 varnish, 1.1 varnish
Transfer-Encoding: chunked
Date: Sun, 31 Jan 2016 16:05:12 GMT
Age: 0
Connection: keep-alive
X-Cache: cp1054 pass+chfp(0), cp1067 frontend pass+chfp(0)
Set-Cookie: WMF-Last-Access=31-Jan-2016;Path=/;HttpOnly;Expires=Thu, 03 Mar 2016 12:00:00 GMT
X-Client-IP: 70.90.203.155
Set-Cookie: GeoIP=US:NM:Las_Cruces:32.25:-106.82:v4; Path=/; Domain=.wikimedia.org
{"createaccount":{"result":"NeedCaptcha","warnings":[{"type":"warning","message":"captcha-createaccount-fail","params":[]}],"captcha":{"type":"image","mime":"image/png","id":"534187029","url":"/w/index.php?title=Special:Captcha/image&wpCaptchaId=534187029"}}}
$ curl -sD- -H 'X-Wikimedia-Debug: 1' -H 'Cookie: metawikiSession=l44kqjah4l3u120d96dikec5ji34clsf' -d 'format=json&action=createaccount&name=SessionManager-test-23&password=123&token=7ccd5c3389d67cbbfc9de923ddbf5ab3&captchaid=534187029&captchaword=debitwear' 'http://meta.wikimedia.org/w/api.php'
HTTP/1.1 200 OK
Server: Apache
X-Powered-By: HHVM/3.6.5
X-Content-Type-Options: nosniff
Cache-control: private, must-revalidate, max-age=0
X-Frame-Options: DENY
Vary: Accept-Encoding
Set-Cookie: UseDC=master; expires=Sun, 31-Jan-2016 16:06:13 GMT; Max-Age=10; path=/; httponly
Set-Cookie: UseCDNCache=false; expires=Sun, 31-Jan-2016 16:06:13 GMT; Max-Age=10; path=/; httponly
Content-Type: application/json; charset=utf-8
X-Varnish: 363055020, 763434088
Via: 1.1 varnish, 1.1 varnish
Transfer-Encoding: chunked
Date: Sun, 31 Jan 2016 16:06:03 GMT
Age: 0
Connection: keep-alive
X-Cache: cp1068 pass+chfp(0), cp1067 frontend pass+chfp(0)
Set-Cookie: WMF-Last-Access=31-Jan-2016;Path=/;HttpOnly;Expires=Thu, 03 Mar 2016 12:00:00 GMT
X-Client-IP: 70.90.203.155
Set-Cookie: GeoIP=US:NM:Las_Cruces:32.25:-106.82:v4; Path=/; Domain=.wikimedia.org
{"createaccount":{"username":"SessionManager-test-23","userid":10954779,"token":"7306fb07dea0dda7d25d3d2705384c0f","result":"Success"}}
$ curl -sD- -H 'X-Wikimedia-Debug: 1' -d 'format=json&action=login&lgname=SessionManager-test-23&lgpassword=123' 'http://meta.wikimedia.org/w/api.php'
HTTP/1.1 200 OK
Server: Apache
X-Powered-By: HHVM/3.6.5
X-Content-Type-Options: nosniff
Cache-control: private, must-revalidate, max-age=0
P3P: CP="This is not a P3P policy! See https://meta.wikimedia.org/wiki/Special:CentralAutoLogin/P3P for more info."
X-Frame-Options: DENY
Vary: Accept-Encoding
Set-Cookie: metawikiSession=2obpkjrdlq4olf8mce39ekpmlgqnobm2; path=/; httponly
Set-Cookie: forceHTTPS=true; path=/; httponly
Content-Type: application/json; charset=utf-8
X-Varnish: 1003128549, 775858085
Via: 1.1 varnish, 1.1 varnish
Transfer-Encoding: chunked
Date: Sun, 31 Jan 2016 16:06:34 GMT
Age: 0
Connection: keep-alive
X-Cache: cp1053 pass+chfp(0), cp1065 frontend pass+chfp(0)
Set-Cookie: WMF-Last-Access=31-Jan-2016;Path=/;HttpOnly;Expires=Thu, 03 Mar 2016 12:00:00 GMT
X-Analytics: nocookies=1
X-Client-IP: 70.90.203.155
Set-Cookie: GeoIP=US:NM:Las_Cruces:32.25:-106.82:v4; Path=/; Domain=.wikimedia.org
{"login":{"result":"NeedToken","token":"41c11748acd37d837c601ff13cc048fa","cookieprefix":"metawiki","sessionid":"2obpkjrdlq4olf8mce39ekpmlgqnobm2"}}
$ curl -sD- -H 'X-Wikimedia-Debug: 1' -H 'Cookie: metawikiSession=2obpkjrdlq4olf8mce39ekpmlgqnobm2' -d 'format=json&action=login&lgname=SessionManager-test-23&lgpassword=123&lgtoken=41c11748acd37d837c601ff13cc048fa' 'http://meta.wikimedia.org/w/api.php'
HTTP/1.1 200 OK
Server: Apache
X-Powered-By: HHVM/3.6.5
X-Content-Type-Options: nosniff
Cache-control: private, must-revalidate, max-age=0
P3P: CP="This is not a P3P policy! See https://meta.wikimedia.org/wiki/Special:CentralAutoLogin/P3P for more info."
X-Frame-Options: DENY
Vary: Accept-Encoding
Set-Cookie: metawikiSession=2obpkjrdlq4olf8mce39ekpmlgqnobm2; path=/; httponly
Set-Cookie: metawikiUserID=10954779; expires=Tue, 01-Mar-2016 16:07:05 GMT; Max-Age=2592000; path=/; httponly
Set-Cookie: metawikiUserName=SessionManager-test-23; expires=Tue, 01-Mar-2016 16:07:05 GMT; Max-Age=2592000; path=/; httponly
Set-Cookie: forceHTTPS=true; expires=Tue, 01-Mar-2016 16:07:05 GMT; Max-Age=2592000; path=/; domain=meta.wikimedia.org; httponly
Set-Cookie: centralauth_User=SessionManager-test-23; expires=Tue, 01-Mar-2016 16:07:05 GMT; Max-Age=2592000; path=/; domain=meta.wikimedia.org; httponly
Set-Cookie: centralauth_Token=59c47c8849523f60705f2b602d20c494; expires=Tue, 01-Mar-2016 16:07:05 GMT; Max-Age=2592000; path=/; domain=meta.wikimedia.org; httponly
Set-Cookie: centralauth_Session=7d240fc5de3449e2a549762070dd84c6; path=/; domain=meta.wikimedia.org; httponly
Content-Type: application/json; charset=utf-8
X-Varnish: 538696977, 3067599716
Via: 1.1 varnish, 1.1 varnish
Transfer-Encoding: chunked
Date: Sun, 31 Jan 2016 16:07:05 GMT
Age: 0
Connection: keep-alive
X-Cache: cp1066 pass+chfp(0), cp1055 frontend pass+chfp(0)
Set-Cookie: WMF-Last-Access=31-Jan-2016;Path=/;HttpOnly;Expires=Thu, 03 Mar 2016 12:00:00 GMT
X-Client-IP: 70.90.203.155
Set-Cookie: GeoIP=US:NM:Las_Cruces:32.25:-106.82:v4; Path=/; Domain=.wikimedia.org
{"login":{"result":"Success","lguserid":10954779,"lgusername":"SessionManager-test-23","lgtoken":"7306fb07dea0dda7d25d3d2705384c0f","cookieprefix":"metawiki","sessionid":"2obpkjrdlq4olf8mce39ekpmlgqnobm2"}}
$ curl -sD- -o /dev/null -H 'X-Wikimedia-Debug: 1' -H 'Cookie: forceHTTPS=true; centralauth_User=SessionManager-test-23; centralauth_Token=59c47c8849523f60705f2b602d20c494; centralauth_Session=7d240fc5de3449e2a549762070dd84c6' 'https://commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-LanguageSelect.js&action=raw&ctype=text/javascript'
HTTP/1.1 200 OK
Server: nginx/1.9.4
Date: Sun, 31 Jan 2016 16:10:24 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: HHVM/3.6.5
X-Content-Type-Options: nosniff
P3P: CP="This is not a P3P policy! See https://commons.wikimedia.org/wiki/Special:CentralAutoLogin/P3P for more info."
Content-language: en
X-UA-Compatible: IE=Edge
Vary: Accept-Encoding,Cookie,Authorization
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: commonswikiSession=nhtlu1j0rnb17l5e921ou2ogbfn1d5hm; path=/; secure; httponly
Set-Cookie: forceHTTPS=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=commons.wikimedia.org; httponly
Set-Cookie: forceHTTPS=true; expires=Tue, 01-Mar-2016 16:10:20 GMT; Max-Age=2592000; path=/; httponly
Set-Cookie: centralauth_User=SessionManager-test-23; expires=Tue, 01-Mar-2016 16:10:20 GMT; Max-Age=2592000; path=/; domain=commons.wikimedia.org; secure; httponly
Set-Cookie: centralauth_Token=59c47c8849523f60705f2b602d20c494; expires=Tue, 01-Mar-2016 16:10:20 GMT; Max-Age=2592000; path=/; domain=commons.wikimedia.org; secure; httponly
Set-Cookie: centralauth_Session=81aa77feb044f5c232a38d2c3f1cb73d; path=/; domain=commons.wikimedia.org; secure; httponly
Last-Modified: Tue, 26 Jan 2016 02:56:41 GMT
X-Varnish: 4142871502, 2243281034
Via: 1.1 varnish, 1.1 varnish
Age: 0
X-Cache: cp1055 pass+chfp(0), cp1068 frontend pass+chfp(0)
Strict-Transport-Security: max-age=31536000
Set-Cookie: WMF-Last-Access=31-Jan-2016;Path=/;HttpOnly;Expires=Thu, 03 Mar 2016 12:00:00 GMT
X-Analytics: page_id=5720282;ns=8;https=1
X-Client-IP: 70.90.203.155
Cache-Control: private, s-maxage=0, max-age=0, must-revalidate
Set-Cookie: GeoIP=US:NM:Las_Cruces:32.25:-106.82:v4; Path=/; Domain=.wikimedia.org
$ curl -sD- -o /dev/null -H 'X-Wikimedia-Debug: 1' -H 'Cookie: forceHTTPS=true; centralauth_User=SessionManager-test-23; centralauth_Token=59c47c8849523f60705f2b602d20c494' 'https://www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-LanguageSelect.js&action=raw&ctype=text/javascript'
HTTP/1.1 404 Not Found
Server: nginx/1.9.4
Date: Sun, 31 Jan 2016 16:11:30 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: HHVM/3.6.5
Vary: Accept-Encoding,Cookie,Authorization
X-UA-Compatible: IE=Edge
Content-language: en
Expires: Thu, 01 Jan 1970 00:00:00 GMT
P3P: CP="This is not a P3P policy! See https://www.mediawiki.org/wiki/Special:CentralAutoLogin/P3P for more info."
X-Content-Type-Options: nosniff
Set-Cookie: mediawikiwikiSession=5g65p8odoc5kc11a8nh0aj1586o1cbrt; path=/; secure; httponly
Set-Cookie: mediawikiwikiUserID=5090646; expires=Tue, 01-Mar-2016 16:11:29 GMT; Max-Age=2592000; path=/; secure; httponly
Set-Cookie: mediawikiwikiUserName=SessionManager-test-23; expires=Tue, 01-Mar-2016 16:11:29 GMT; Max-Age=2592000; path=/; secure; httponly
Set-Cookie: forceHTTPS=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; httponly
Set-Cookie: forceHTTPS=true; expires=Tue, 01-Mar-2016 16:11:29 GMT; Max-Age=2592000; path=/; domain=.mediawiki.org; httponly
Set-Cookie: centralauth_User=SessionManager-test-23; expires=Tue, 01-Mar-2016 16:11:29 GMT; Max-Age=2592000; path=/; domain=.mediawiki.org; secure; httponly
Set-Cookie: centralauth_Token=59c47c8849523f60705f2b602d20c494; expires=Tue, 01-Mar-2016 16:11:29 GMT; Max-Age=2592000; path=/; domain=.mediawiki.org; secure; httponly
Set-Cookie: centralauth_Session=1be1b5498169781d38fc7ab235943a7c; path=/; domain=.mediawiki.org; secure; httponly
X-Varnish: 3694419727, 2243540971
Via: 1.1 varnish, 1.1 varnish
Age: 0
X-Cache: cp1052 pass+chfp(0), cp1068 frontend pass+chfp(0)
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Set-Cookie: WMF-Last-Access=31-Jan-2016;Path=/;HttpOnly;Expires=Thu, 03 Mar 2016 12:00:00 GMT
X-Analytics: https=1
X-Client-IP: 70.90.203.155
Cache-Control: private, s-maxage=0, max-age=0, must-revalidate
Set-Cookie: GeoIP=US:NM:Las_Cruces:32.25:-106.82:v4; Path=/; Domain=.mediawiki.org

Event Timeline

Tgr changed the title of this paste from untitled to Test no cache on account autocreation.Jan 31 2016, 4:14 PM
Tgr updated the paste's language from autodetect to bash.
Tgr edited the content of this paste. (Show Details)
Tgr updated the paste's language from bash to autodetect.
Tgr edited the content of this paste. (Show Details)