Skip to content

Commit

Permalink
fix: speedy preview response header removed (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
octokit-fixture-user-a authored and gr2m committed Dec 8, 2018
1 parent 31b72cb commit 31a8f77
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"x-content-type-options": "nosniff",
"x-frame-options": "deny",
"x-github-media-type": "github.v3; format=json, github.speedy-preview; format=json",
"x-github-media-type": "github.v3; format=json",
"x-github-request-id": "0000:00000:0000000:0000000:00000000",
"x-ratelimit-limit": "60",
"x-ratelimit-remaining": "59",
Expand Down
24 changes: 13 additions & 11 deletions scenarios/api.github.com/get-organization/raw-fixture.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,23 @@
},
"rawHeaders": [
"Date",
"Sat, 08 Dec 2018 02:46:55 GMT",
"Sat, 08 Dec 2018 07:22:26 GMT",
"Content-Type",
"application/json; charset=utf-8",
"Transfer-Encoding",
"chunked",
"Connection",
"close",
"Set-Cookie",
"__cfduid=d0b82b91a8d8a446b1e6ffeabb772cc3f1544237215; expires=Sun, 08-Dec-19 02:46:55 GMT; path=/; domain=.octokit-fixtures-proxy.now.sh; HttpOnly",
"__cfduid=d9a601e682c62c499b868c73e85307b011544253745; expires=Sun, 08-Dec-19 07:22:25 GMT; path=/; domain=.octokit-fixtures-proxy.now.sh; HttpOnly",
"status",
"200 OK",
"x-ratelimit-limit",
"60",
"x-ratelimit-remaining",
"53",
"58",
"x-ratelimit-reset",
"1544240126",
"1544170918",
"cache-control",
"public, max-age=60, s-maxage=60",
"vary",
Expand All @@ -58,7 +58,7 @@
"last-modified",
"Mon, 12 Nov 2018 17:54:04 GMT",
"x-github-media-type",
"github.v3; format=json, github.speedy-preview; format=json",
"github.v3; param=speedy-preview; format=json",
"access-control-expose-headers",
"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type",
"access-control-allow-origin",
Expand All @@ -76,23 +76,25 @@
"content-security-policy",
"default-src 'none'",
"x-github-request-id",
"A4A0:8E05:34F3B7:40A04B:5C0B309F",
"B0C0:4FB6:3B6C034:4BC8A0B:5C0A1F97",
"x-now-trace",
"sfo1",
"iad1,sfo1",
"now",
"1",
"X-Now-Id",
"tgzbv-1544237215403-smnhA2WyrkVa7ebeE0uuSxym",
"h86n5-1544167319728-pbYnMpR8yTHKteHRgD7azSgK",
"X-Now-Instance",
"1446567719",
"3558380556",
"X-Now-Id",
"cxw4l-1544167319508-jHSgLXmwfAtacAG5ylKGKCwQ",
"CF-Cache-Status",
"MISS",
"REVALIDATED",
"Expect-CT",
"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"",
"Server",
"cloudflare",
"CF-RAY",
"485be783fe8798d7-LAX"
"485d7b177e469dcd-ORD"
],
"reqheaders": {
"accept": "application/vnd.github.v3+json,application/vnd.github.speedy-preview+json",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"x-content-type-options": "nosniff",
"x-frame-options": "deny",
"x-github-media-type": "github.v3; format=json, github.speedy-preview; format=json",
"x-github-media-type": "github.v3; format=json",
"x-github-request-id": "0000:00000:0000000:0000000:00000000",
"x-ratelimit-limit": "60",
"x-ratelimit-remaining": "59",
Expand Down
24 changes: 13 additions & 11 deletions scenarios/api.github.com/get-repository/raw-fixture.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,23 +122,23 @@
},
"rawHeaders": [
"Date",
"Sat, 08 Dec 2018 02:46:55 GMT",
"Sat, 08 Dec 2018 07:22:27 GMT",
"Content-Type",
"application/json; charset=utf-8",
"Transfer-Encoding",
"chunked",
"Connection",
"close",
"Set-Cookie",
"__cfduid=dd6f0c819027cea986d1c6db45318a5121544237215; expires=Sun, 08-Dec-19 02:46:55 GMT; path=/; domain=.octokit-fixtures-proxy.now.sh; HttpOnly",
"__cfduid=d21012a7a8c37e7f4706ee5cd2c22b4301544253746; expires=Sun, 08-Dec-19 07:22:26 GMT; path=/; domain=.octokit-fixtures-proxy.now.sh; HttpOnly",
"status",
"200 OK",
"x-ratelimit-limit",
"60",
"x-ratelimit-remaining",
"52",
"50",
"x-ratelimit-reset",
"1544240126",
"1542057354",
"cache-control",
"public, max-age=60, s-maxage=60",
"vary",
Expand All @@ -148,7 +148,7 @@
"last-modified",
"Tue, 19 Sep 2017 15:57:54 GMT",
"x-github-media-type",
"github.v3; format=json, github.speedy-preview; format=json",
"github.v3; param=speedy-preview; format=json",
"access-control-expose-headers",
"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type",
"access-control-allow-origin",
Expand All @@ -166,23 +166,25 @@
"content-security-policy",
"default-src 'none'",
"x-github-request-id",
"A4DA:8E04:2F15D4:38D821:5C0B309F",
"97B8:59DC:193319E:1FD6BE5:5BE9E1BF",
"x-now-trace",
"sfo1",
"iad1,sfo1",
"now",
"1",
"X-Now-Id",
"cnvc7-1544237215752-9OrVWs6UfJFJLCmrQL27qcm4",
"zvz4z-1542054334969-KbMJbzdPCAn3qLmGohpNzCqB",
"X-Now-Instance",
"1446567719",
"4228949788",
"X-Now-Id",
"spxjw-1542054334741-eY8FLw5Ki2mfhQeiQmHnuE7q",
"CF-Cache-Status",
"MISS",
"REVALIDATED",
"Expect-CT",
"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"",
"Server",
"cloudflare",
"CF-RAY",
"485be7861aa5a411-LAX"
"485d7b1b5ce79ed5-ORD"
],
"reqheaders": {
"accept": "application/vnd.github.v3+json,application/vnd.github.speedy-preview+json",
Expand Down
2 changes: 1 addition & 1 deletion scenarios/api.github.com/get-root/normalized-fixture.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"x-content-type-options": "nosniff",
"x-frame-options": "deny",
"x-github-media-type": "github.v3; format=json, github.speedy-preview; format=json",
"x-github-media-type": "github.v3; format=json",
"x-github-request-id": "0000:00000:0000000:0000000:00000000",
"x-ratelimit-limit": "60",
"x-ratelimit-remaining": "59",
Expand Down
38 changes: 19 additions & 19 deletions scenarios/api.github.com/get-root/raw-fixture.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,31 +40,31 @@
},
"rawHeaders": [
"Date",
"Sat, 08 Dec 2018 02:46:56 GMT",
"Sat, 08 Dec 2018 07:22:27 GMT",
"Content-Type",
"application/json; charset=utf-8",
"Transfer-Encoding",
"chunked",
"Connection",
"close",
"Set-Cookie",
"__cfduid=da863db48367050a2270c2effc7e22d231544237216; expires=Sun, 08-Dec-19 02:46:56 GMT; path=/; domain=.octokit-fixtures-proxy.now.sh; HttpOnly",
"__cfduid=dfc096c5fa1ac08e83a4be7a2e4a1b2331544253747; expires=Sun, 08-Dec-19 07:22:27 GMT; path=/; domain=.octokit-fixtures-proxy.now.sh; HttpOnly",
"status",
"200 OK",
"x-ratelimit-limit",
"60",
"x-ratelimit-remaining",
"51",
"57",
"x-ratelimit-reset",
"1544240126",
"1544170918",
"cache-control",
"public, max-age=60, s-maxage=60",
"vary",
"Accept, Accept-Encoding",
"etag",
"W/\"0f44160181f1209a2b8a3ce79f0ebc9e\"",
"x-github-media-type",
"github.v3; format=json, github.speedy-preview; format=json",
"github.v3; param=speedy-preview; format=json",
"access-control-expose-headers",
"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type",
"access-control-allow-origin",
Expand All @@ -82,23 +82,25 @@
"content-security-policy",
"default-src 'none'",
"x-github-request-id",
"C6CE:8E05:34F3EC:40A08B:5C0B30A0",
"C6FC:4FB4:3255216:4041AE4:5C0A1F99",
"x-now-trace",
"sfo1",
"iad1,sfo1",
"now",
"1",
"X-Now-Id",
"cnvc7-1544237216103-hce8dFljOLsffrkRN0kjxoDW",
"cnvc7-1544167321016-LCcNqxBoi39UKqGt9hWZSigl",
"X-Now-Instance",
"1446567719",
"3558380556",
"X-Now-Id",
"cxw4l-1544167320749-jVAPOM9ey23hR6ed8Fl667X9",
"CF-Cache-Status",
"MISS",
"REVALIDATED",
"Expect-CT",
"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"",
"Server",
"cloudflare",
"CF-RAY",
"485be78848569871-LAX"
"485d7b1f7efc9ed5-ORD"
],
"reqheaders": {
"accept": "application/vnd.github.v3+json,application/vnd.github.speedy-preview+json",
Expand Down Expand Up @@ -145,24 +147,24 @@
"user_search_url": "https://api.github.com/search/users?q={query}{&page,per_page,sort,order}"
},
"rawHeaders": [
"Server",
"GitHub.com",
"Date",
"Sat, 08 Dec 2018 02:46:56 GMT",
"Sat, 08 Dec 2018 07:22:27 GMT",
"Content-Type",
"application/json; charset=utf-8",
"Content-Length",
"2039",
"Connection",
"close",
"Server",
"GitHub.com",
"Status",
"200 OK",
"X-RateLimit-Limit",
"5000",
"X-RateLimit-Remaining",
"4712",
"4964",
"X-RateLimit-Reset",
"1544240000",
"1544257246",
"Cache-Control",
"private, max-age=60, s-maxage=60",
"Vary",
Expand Down Expand Up @@ -191,10 +193,8 @@
"origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy",
"default-src 'none'",
"Vary",
"Accept-Encoding",
"X-GitHub-Request-Id",
"C5C4:0C81:308658:3EFBD5:5C0B30A0"
"85E8:0A8D:42FEE5:86CFA2:5C0B7133"
],
"reqheaders": {
"accept": "application/vnd.github.v3+json,application/vnd.github.speedy-preview+json",
Expand Down

0 comments on commit 31a8f77

Please sign in to comment.