Title: Update OPTIONS, Allow, Accept-* · Issue #931 · nodeSolidServer/node-solid-server · GitHub
Open Graph Title: Update OPTIONS, Allow, Accept-* · Issue #931 · nodeSolidServer/node-solid-server
X Title: Update OPTIONS, Allow, Accept-* · Issue #931 · nodeSolidServer/node-solid-server
Description: re: curl -iX OPTIONS https://csarven.solid.community/ Vary: Accept, Authorization, Origin Access-Control-Allow-Methods: OPTIONS,HEAD,GET,PATCH,POST,PUT,DELETE Allow: GET,HEAD Accept-Patch: application/sparql-update Allow should include w...
Open Graph Description: re: curl -iX OPTIONS https://csarven.solid.community/ Vary: Accept, Authorization, Origin Access-Control-Allow-Methods: OPTIONS,HEAD,GET,PATCH,POST,PUT,DELETE Allow: GET,HEAD Accept-Patch: applicat...
X Description: re: curl -iX OPTIONS https://csarven.solid.community/ Vary: Accept, Authorization, Origin Access-Control-Allow-Methods: OPTIONS,HEAD,GET,PATCH,POST,PUT,DELETE Allow: GET,HEAD Accept-Patch: applicat...
Opengraph URL: https://github.com/nodeSolidServer/node-solid-server/issues/931
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Update OPTIONS, Allow, Accept-*","articleBody":"re:\r\n```\r\ncurl -iX OPTIONS https://csarven.solid.community/\r\n\r\nVary: Accept, Authorization, Origin\r\nAccess-Control-Allow-Methods: OPTIONS,HEAD,GET,PATCH,POST,PUT,DELETE\r\nAllow: GET,HEAD\r\nAccept-Patch: application/sparql-update\r\n````\r\n\r\n* `Allow` should include what's really \"allowed\" eg. `OPTIONS` is a good start.\r\n* If `Accept-Patch` is of any indication, add `PATCH` to `Allow`.\r\n* If `PUT, POST` are also allowed add to `Allow`, and would be good to include `Accept-Put` and `Accept-Post` respectively (note: `Accept-Put` is not really spec'd/standardised but just completeness sake)\r\n\r\nJust to be clear, that's for a public resource. I understand that `GET`, `HEAD`, and `OPTIONS` may be the only methods allowed, then `Accept-Patch` probably shouldn't be advertised. No major harm but still. Note different treatment to https://csarven.solid.community/public/ , which appears to be correct (authenticated).\r\n\r\nAside: There may have been a special case for the storage root (I recall some people having issues with overwriting their homepage or whatever), so perhaps that's why `PATCH` is not listed there now (even if authenticated if I'm not mistaken). I don't see why `PATCH` would be allowed but not `PUT` or `POST`, and others on storage root, but ok.","author":{"url":"https://github.com/csarven","@type":"Person","name":"csarven"},"datePublished":"2018-11-13T17:31:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":21},"url":"https://github.com/931/node-solid-server/issues/931"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c57530bf-3a3c-c736-593f-4b1df54585d3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DD00:1BDD2D:612A588:7D53822:69767791 |
| html-safe-nonce | 1018bff2a1a7b9182ff823f42b11098901db483f08015f830d05175e1674e020 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDAwOjFCREQyRDo2MTJBNTg4OjdENTM4MjI6Njk3Njc3OTEiLCJ2aXNpdG9yX2lkIjoiNzMzODk5ODA3NDI5MjIwNTQ1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0b0742f5e6f4a057e7a8b0b23178ead64bdf788a0798b7b312eb9abdfc9243ac |
| hovercard-subject-tag | issue:380341121 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/nodeSolidServer/node-solid-server/931/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e41f6ce802d20324dbcdd95553fe34be3e7651194d98c7f1e498fecc96b86560/nodeSolidServer/node-solid-server/issues/931 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e41f6ce802d20324dbcdd95553fe34be3e7651194d98c7f1e498fecc96b86560/nodeSolidServer/node-solid-server/issues/931 |
| og:image:alt | re: curl -iX OPTIONS https://csarven.solid.community/ Vary: Accept, Authorization, Origin Access-Control-Allow-Methods: OPTIONS,HEAD,GET,PATCH,POST,PUT,DELETE Allow: GET,HEAD Accept-Patch: applicat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | csarven |
| hostname | github.com |
| expected-hostname | github.com |
| None | 032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodeSolidServer/node-solid-server git https://github.com/nodeSolidServer/node-solid-server.git |
| octolytics-dimension-user_id | 104446421 |
| octolytics-dimension-user_login | nodeSolidServer |
| octolytics-dimension-repository_id | 24306004 |
| octolytics-dimension-repository_nwo | nodeSolidServer/node-solid-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24306004 |
| octolytics-dimension-repository_network_root_nwo | nodeSolidServer/node-solid-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5b577f6be6482e336e3c30e8daefa30144947b17 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width