Skip to content

Commit

Permalink
fix: status response header was removed (#386)
Browse files Browse the repository at this point in the history
the `status` response header is no longer returned by the GitHub API
  • Loading branch information
octokitbot authored Feb 5, 2021
1 parent 97313e7 commit daf5153
Show file tree
Hide file tree
Showing 44 changed files with 2,583 additions and 2,910 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@
"etag": "\"00000000000000000000000000000000\"",
"location": "https://api.github.com/user/repository_invitations/1000",
"referrer-policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"status": "201 Created",
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"x-accepted-oauth-scopes": "",
"x-content-type-options": "nosniff",
Expand Down Expand Up @@ -295,7 +294,6 @@
"date": "Tue, 10 Oct 2017 16:00:00 GMT",
"etag": "\"00000000000000000000000000000000\"",
"referrer-policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"status": "200 OK",
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"x-accepted-oauth-scopes": "",
"x-content-type-options": "nosniff",
Expand Down Expand Up @@ -331,7 +329,6 @@
"content-security-policy": "default-src 'none'",
"date": "Tue, 10 Oct 2017 16:00:00 GMT",
"referrer-policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"status": "204 No Content",
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"x-accepted-oauth-scopes": "public_repo, repo, repo:invite",
"x-content-type-options": "nosniff",
Expand Down Expand Up @@ -413,7 +410,6 @@
"date": "Tue, 10 Oct 2017 16:00:00 GMT",
"etag": "\"00000000000000000000000000000000\"",
"referrer-policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"status": "200 OK",
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"x-accepted-oauth-scopes": "",
"x-content-type-options": "nosniff",
Expand Down Expand Up @@ -448,7 +444,6 @@
"content-security-policy": "default-src 'none'",
"date": "Tue, 10 Oct 2017 16:00:00 GMT",
"referrer-policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"status": "204 No Content",
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"x-accepted-oauth-scopes": "",
"x-content-type-options": "nosniff",
Expand Down Expand Up @@ -509,7 +504,6 @@
"date": "Tue, 10 Oct 2017 16:00:00 GMT",
"etag": "\"00000000000000000000000000000000\"",
"referrer-policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"status": "200 OK",
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"x-accepted-oauth-scopes": "",
"x-content-type-options": "nosniff",
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
"etag": "\"00000000000000000000000000000000\"",
"location": "https://api.github.com/repos/octokit-fixture-org/add-labels-to-issue/issues/1",
"referrer-policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"status": "201 Created",
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"x-accepted-oauth-scopes": "",
"x-content-type-options": "nosniff",
Expand Down Expand Up @@ -141,7 +140,6 @@
"date": "Tue, 10 Oct 2017 16:00:00 GMT",
"etag": "\"00000000000000000000000000000000\"",
"referrer-policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"status": "200 OK",
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"x-accepted-oauth-scopes": "",
"x-content-type-options": "nosniff",
Expand Down
186 changes: 89 additions & 97 deletions scenarios/api.github.com/add-labels-to-issue/raw-fixture.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"content-type": "application/json; charset=utf-8",
"date": "Tue, 10 Oct 2017 16:00:00 GMT",
"referrer-policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"status": "404 Not Found",
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"x-accepted-oauth-scopes": "",
"x-content-type-options": "nosniff",
Expand Down Expand Up @@ -79,7 +78,6 @@
"date": "Tue, 10 Oct 2017 16:00:00 GMT",
"etag": "\"00000000000000000000000000000000\"",
"referrer-policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"status": "200 OK",
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"x-accepted-oauth-scopes": "",
"x-content-type-options": "nosniff",
Expand Down Expand Up @@ -228,7 +226,6 @@
"date": "Tue, 10 Oct 2017 16:00:00 GMT",
"etag": "\"00000000000000000000000000000000\"",
"referrer-policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"status": "200 OK",
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"x-accepted-oauth-scopes": "",
"x-content-type-options": "nosniff",
Expand Down Expand Up @@ -263,7 +260,6 @@
"content-security-policy": "default-src 'none'",
"date": "Tue, 10 Oct 2017 16:00:00 GMT",
"referrer-policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
"status": "204 No Content",
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"x-accepted-oauth-scopes": "",
"x-content-type-options": "nosniff",
Expand Down
Loading

0 comments on commit daf5153

Please sign in to comment.