Title: Implement json error pages by davispuh · Pull Request #44 · HttpErrorPages/HttpErrorPages · GitHub
Open Graph Title: Implement json error pages by davispuh · Pull Request #44 · HttpErrorPages/HttpErrorPages
X Title: Implement json error pages by davispuh · Pull Request #44 · HttpErrorPages/HttpErrorPages
Description: Implement json error pages. This is useful when JSON backend/API doesn't have nice error info and might return blank page. To use with Nginx: map $http_accept $errorExtension { default html; ~application/json json; ~application/activity+json json; } error_page 400 /ErrorPages/HTTP400.$errorExtension; error_page 401 /ErrorPages/HTTP401.$errorExtension; error_page 403 /ErrorPages/HTTP403.$errorExtension; # ... This will cause that when client has Accept: application/json header then it will get JSON response.
Open Graph Description: Implement json error pages. This is useful when JSON backend/API doesn't have nice error info and might return blank page. To use with Nginx: map $http_accept $errorExtension { default ...
X Description: Implement json error pages. This is useful when JSON backend/API doesn't have nice error info and might return blank page. To use with Nginx: map $http_accept $errorExtension { default ...
Opengraph URL: https://github.com/HttpErrorPages/HttpErrorPages/pull/44
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:c59e6c86-1ce0-6c9d-01ea-181d8d94a74c |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 9C28:11A44F:1F707C5:2A4557D:697AB0C0 |
| html-safe-nonce | ad3a5411ff79e5e10d7b7f0d1a695ba2c20060c7721c6dc78757540fd02d68dc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzI4OjExQTQ0RjoxRjcwN0M1OjJBNDU1N0Q6Njk3QUIwQzAiLCJ2aXNpdG9yX2lkIjoiNTUzNDk1MTk0NTc0MTcyMzUyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9f26c32bf3552b89367a03f1ed9da0c8017cec44998b63933101adc5fbed8509 |
| hovercard-subject-tag | pull_request:2012902577 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/HttpErrorPages/HttpErrorPages/pull/44/checks |
| twitter:image | https://avatars.githubusercontent.com/u/651800?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/651800?s=400&v=4 |
| og:image:alt | Implement json error pages. This is useful when JSON backend/API doesn't have nice error info and might return blank page. To use with Nginx: map $http_accept $errorExtension { default ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 33acda8ebf71b04c9d33b494d2b6e0db48193ec89eb3ad92a9539d491fa9a3da |
| turbo-cache-control | no-preview |
| go-import | github.com/HttpErrorPages/HttpErrorPages git https://github.com/HttpErrorPages/HttpErrorPages.git |
| octolytics-dimension-user_id | 47022990 |
| octolytics-dimension-user_login | HttpErrorPages |
| octolytics-dimension-repository_id | 29097688 |
| octolytics-dimension-repository_nwo | HttpErrorPages/HttpErrorPages |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 29097688 |
| octolytics-dimension-repository_network_root_nwo | HttpErrorPages/HttpErrorPages |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4f714a84d3384e467839505ed65f968fc01aedf1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width