Skip to content

Commit 3768528

Browse files
committed
Fix typo
1 parent 40dd984 commit 3768528

File tree

3 files changed

+63
-2
lines changed

3 files changed

+63
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"id": "5432b23c-70f2-4ecf-a380-a232afeef015",
3+
"name": "repos_hub4j-test-org_github-api",
4+
"request": {
5+
"url": "/repos/hub4j-test-org/github-api",
6+
"method": "GET",
7+
"headers": {
8+
"If-None-Match": {
9+
"equalTo": "\"295ae3430c604f3d10b6eb145fe511b5\""
10+
}
11+
}
12+
},
13+
"response": {
14+
"status": 200,
15+
"bodyFileName": "repos_hub4j-test-org_github-api-10.json",
16+
"headers": {
17+
"Date": "{{now timezone='GMT' format='EEE, dd MMM yyyy HH:mm:ss z'}}",
18+
"Content-Type": "application/json; charset=utf-8",
19+
"Server": "GitHub.com",
20+
"Status": "200 OK",
21+
"X-RateLimit-Limit": "5000",
22+
"X-RateLimit-Remaining": "4966",
23+
"X-RateLimit-Reset": "{{now offset='1 hours' format='unix'}}",
24+
"Cache-Control": "private, max-age=60, s-maxage=60",
25+
"Vary": [
26+
"Accept, Authorization, Cookie, X-GitHub-OTP",
27+
"Accept-Encoding"
28+
],
29+
"ETag": "W/\"4f508593b64df214fee8f6ab42df633c\"",
30+
"Last-Modified": "{{now offset='-1 seconds' timezone='GMT' format='EEE, dd MMM yyyy HH:mm:ss z'}}",
31+
"X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo",
32+
"X-Accepted-OAuth-Scopes": "repo",
33+
"X-GitHub-Media-Type": "github.v3; format=json",
34+
"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",
35+
"Access-Control-Allow-Origin": "*",
36+
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
37+
"X-Frame-Options": "deny",
38+
"X-Content-Type-Options": "nosniff",
39+
"X-XSS-Protection": "1; mode=block",
40+
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
41+
"Content-Security-Policy": "default-src 'none'",
42+
"X-GitHub-Request-Id": "FBD4:8499:15E11B0:19F4373:5D9258AD"
43+
}
44+
},
45+
"uuid": "5432b23c-70f2-4ecf-a380-a232afeef015",
46+
"persistent": true,
47+
"scenarioName": "scenario-1-repos-hub4j-test-org-github-api",
48+
"requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-2",
49+
"newScenarioState": "scenario-3-repos-hub4j-test-org-github-api-0",
50+
"insertionIndex": 10
51+
}

src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_hub4j-test-org_github-api-10-10.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
"name": "repos_hub4j-test-org_github-api",
44
"request": {
55
"url": "/repos/hub4j-test-org/github-api",
6-
"method": "GET"
6+
"method": "GET",
7+
"headers": {
8+
"If-None-Match": {
9+
"absent" : true
10+
}
11+
}
712
},
813
"response": {
914
"status": 200,

src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_hub4j-test-org_github-api-8-8.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
"name": "repos_hub4j-test-org_github-api",
44
"request": {
55
"url": "/repos/hub4j-test-org/github-api",
6-
"method": "GET"
6+
"method": "GET",
7+
"headers": {
8+
"If-None-Match": {
9+
"equalTo": "\"295ae3430c604f3d10b6eb145fe511b5\""
10+
}
11+
}
712
},
813
"response": {
914
"status": 304,

0 commit comments

Comments
 (0)