Title: POST with empty body fails · Issue #1316 · nodeSolidServer/node-solid-server · GitHub
Open Graph Title: POST with empty body fails · Issue #1316 · nodeSolidServer/node-solid-server
X Title: POST with empty body fails · Issue #1316 · nodeSolidServer/node-solid-server
Description: in one window: curl -k -X POST https://michielbdejong.localhost:8443/public/public-write/ server logs: solid:handlers POST -- On parent: /public/public-write/ +0ms solid:handlers POST -- Will create at: https://michielbdejong.localhost:8...
Open Graph Description: in one window: curl -k -X POST https://michielbdejong.localhost:8443/public/public-write/ server logs: solid:handlers POST -- On parent: /public/public-write/ +0ms solid:handlers POST -- Will creat...
X Description: in one window: curl -k -X POST https://michielbdejong.localhost:8443/public/public-write/ server logs: solid:handlers POST -- On parent: /public/public-write/ +0ms solid:handlers POST -- Will creat...
Opengraph URL: https://github.com/nodeSolidServer/node-solid-server/issues/1316
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"POST with empty body fails","articleBody":"in one window:\r\ncurl -k -X POST https://michielbdejong.localhost:8443/public/public-write/\r\n\r\nserver logs:\r\nsolid:handlers POST -- On parent: /public/public-write/ +0ms\r\nsolid:handlers POST -- Will create at: https://michielbdejong.localhost:8443/public/public-write/5c9a88d0-e8ef-11e9-b308-a754342b2519 +0ms\r\nsolid:server Error page because of: TypeError: Cannot read property 'includes' of undefined\r\n at LDP.post (/Users/michiel/gh/solid/node-solid-server/lib/ldp.js:161:21) +0ms\r\n\r\n","author":{"url":"https://github.com/michielbdejong","@type":"Person","name":"michielbdejong"},"datePublished":"2019-10-07T10:44:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/1316/node-solid-server/issues/1316"}
| 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:ecb9b4b0-043f-95e2-a39a-5cde87e04d93 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA12:4DECD:1796189:1E35899:69749C83 |
| html-safe-nonce | a7b1613ebb0063fc9c803022574ef3cf423ce994461ff37a90a23a58e1891f09 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTEyOjRERUNEOjE3OTYxODk6MUUzNTg5OTo2OTc0OUM4MyIsInZpc2l0b3JfaWQiOiI1MTg0MzIxOTgyNjA3MjY5MTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ef1b32fe7571d3c14d98a16b0faa273eed274a9238aea46fc6350973792535c7 |
| hovercard-subject-tag | issue:503371424 |
| 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/1316/issue_layout |
| twitter:image | https://opengraph.githubassets.com/47cbaadf6dbcaba1e8bf0508b0bbb6a3bc99926e30509a1aee848ef9c07b1a4e/nodeSolidServer/node-solid-server/issues/1316 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/47cbaadf6dbcaba1e8bf0508b0bbb6a3bc99926e30509a1aee848ef9c07b1a4e/nodeSolidServer/node-solid-server/issues/1316 |
| og:image:alt | in one window: curl -k -X POST https://michielbdejong.localhost:8443/public/public-write/ server logs: solid:handlers POST -- On parent: /public/public-write/ +0ms solid:handlers POST -- Will creat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | michielbdejong |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| 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 | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width