René's URL Explorer Experiment


Title: Add file extension to generated paths on POST by RubenVerborgh · Pull Request #584 · nodeSolidServer/node-solid-server · GitHub

Open Graph Title: Add file extension to generated paths on POST by RubenVerborgh · Pull Request #584 · nodeSolidServer/node-solid-server

X Title: Add file extension to generated paths on POST by RubenVerborgh · Pull Request #584 · nodeSolidServer/node-solid-server

Description: This commit appends an extension to generated paths for POST requests, reflecting the Content-Type of the request. This enables the server to serve that file back with the correct content type. For example, if a text/html request is posted, it will receive the .html extension and will hence be served back as text/html. Addresses the POST case of #275.

Open Graph Description: This commit appends an extension to generated paths for POST requests, reflecting the Content-Type of the request. This enables the server to serve that file back with the correct content type. For...

X Description: This commit appends an extension to generated paths for POST requests, reflecting the Content-Type of the request. This enables the server to serve that file back with the correct content type. For...

Opengraph URL: https://github.com/nodeSolidServer/node-solid-server/pull/584

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:25dbb703-56ff-d4e4-5c39-fd91cffb4529
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA700:83DE7:705104D:90E1279:69759EE4
html-safe-nonceb593ac19c2e59fc9d8d6a21a1f3d4cf6377d9b4f461fae5872f1c6278447c407
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzAwOjgzREU3OjcwNTEwNEQ6OTBFMTI3OTo2OTc1OUVFNCIsInZpc2l0b3JfaWQiOiIyNjM1NjMwNTU0Mzg3OTQ3MjM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca97577ef4027dbeb59304113be7496cb9a1d86b127d58d820740557a4794840b
hovercard-subject-tagpull_request:139677041
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/nodeSolidServer/node-solid-server/pull/584/files
twitter:imagehttps://avatars.githubusercontent.com/u/675313?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/675313?s=400&v=4
og:image:altThis commit appends an extension to generated paths for POST requests, reflecting the Content-Type of the request. This enables the server to serve that file back with the correct content type. For...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/nodeSolidServer/node-solid-server git https://github.com/nodeSolidServer/node-solid-server.git
octolytics-dimension-user_id104446421
octolytics-dimension-user_loginnodeSolidServer
octolytics-dimension-repository_id24306004
octolytics-dimension-repository_nwonodeSolidServer/node-solid-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24306004
octolytics-dimension-repository_network_root_nwonodeSolidServer/node-solid-server
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release488b30e96dfd057fbbe44c6665ccbc030b729dde
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodeSolidServer/node-solid-server/pull/584/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FnodeSolidServer%2Fnode-solid-server%2Fpull%2F584%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FnodeSolidServer%2Fnode-solid-server%2Fpull%2F584%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=nodeSolidServer%2Fnode-solid-server
Reloadhttps://github.com/nodeSolidServer/node-solid-server/pull/584/files
Reloadhttps://github.com/nodeSolidServer/node-solid-server/pull/584/files
Reloadhttps://github.com/nodeSolidServer/node-solid-server/pull/584/files
nodeSolidServer https://github.com/nodeSolidServer
node-solid-serverhttps://github.com/nodeSolidServer/node-solid-server
Notifications https://github.com/login?return_to=%2FnodeSolidServer%2Fnode-solid-server
Fork 305 https://github.com/login?return_to=%2FnodeSolidServer%2Fnode-solid-server
Star 1.8k https://github.com/login?return_to=%2FnodeSolidServer%2Fnode-solid-server
Code https://github.com/nodeSolidServer/node-solid-server
Issues 295 https://github.com/nodeSolidServer/node-solid-server/issues
Pull requests 21 https://github.com/nodeSolidServer/node-solid-server/pulls
Actions https://github.com/nodeSolidServer/node-solid-server/actions
Projects 0 https://github.com/nodeSolidServer/node-solid-server/projects
Wiki https://github.com/nodeSolidServer/node-solid-server/wiki
Security 0 https://github.com/nodeSolidServer/node-solid-server/security
Insights https://github.com/nodeSolidServer/node-solid-server/pulse
Code https://github.com/nodeSolidServer/node-solid-server
Issues https://github.com/nodeSolidServer/node-solid-server/issues
Pull requests https://github.com/nodeSolidServer/node-solid-server/pulls
Actions https://github.com/nodeSolidServer/node-solid-server/actions
Projects https://github.com/nodeSolidServer/node-solid-server/projects
Wiki https://github.com/nodeSolidServer/node-solid-server/wiki
Security https://github.com/nodeSolidServer/node-solid-server/security
Insights https://github.com/nodeSolidServer/node-solid-server/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FnodeSolidServer%2Fnode-solid-server%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FnodeSolidServer%2Fnode-solid-server%2Fissues%2Fnew%2Fchoose
RubenVerborghhttps://github.com/RubenVerborgh
release/v4.0.0https://github.com/nodeSolidServer/node-solid-server/tree/release/v4.0.0
feature/add-extensionhttps://github.com/nodeSolidServer/node-solid-server/tree/feature/add-extension
Conversation 27 https://github.com/nodeSolidServer/node-solid-server/pull/584
Commits 2 https://github.com/nodeSolidServer/node-solid-server/pull/584/commits
Checks 0 https://github.com/nodeSolidServer/node-solid-server/pull/584/checks
Files changed https://github.com/nodeSolidServer/node-solid-server/pull/584/files
Please reload this pagehttps://github.com/nodeSolidServer/node-solid-server/pull/584/files
Add file extension to generated paths on POST https://github.com/nodeSolidServer/node-solid-server/pull/584/files#top
Show all changes 2 commits https://github.com/nodeSolidServer/node-solid-server/pull/584/files
15a8639 Add file extension to generated paths on POST. RubenVerborgh Sep 6, 2017 https://github.com/nodeSolidServer/node-solid-server/pull/584/commits/15a8639dee0b0299d4159b97eae482d6409f0807
4e944a0 Also add extension on POSTed Turtle files. RubenVerborgh Sep 12, 2017 https://github.com/nodeSolidServer/node-solid-server/pull/584/commits/4e944a09d088fc349ab0a5c92b41a0e2462e2a30
Clear filters https://github.com/nodeSolidServer/node-solid-server/pull/584/files
Please reload this pagehttps://github.com/nodeSolidServer/node-solid-server/pull/584/files
Please reload this pagehttps://github.com/nodeSolidServer/node-solid-server/pull/584/files
post.js https://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-f90a5361f2c8d83ce4692d60ced85fc3cad204af7007464534b5e51670cd1ab6
ldp.js https://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-98a11be785b8100aab3a553eed0e3656a235f06463d2979fd08bafcdf503abdf
http-test.js https://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-1c1b169190475ccbbd09c67776e9fe6b0f6156983cd851c0230c74977b491fcc
lib/handlers/post.jshttps://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-f90a5361f2c8d83ce4692d60ced85fc3cad204af7007464534b5e51670cd1ab6
View file https://github.com/nodeSolidServer/node-solid-server/blob/4e944a09d088fc349ab0a5c92b41a0e2462e2a30/lib/handlers/post.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodeSolidServer/node-solid-server/pull/584/{{ revealButtonHref }}
https://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-f90a5361f2c8d83ce4692d60ced85fc3cad204af7007464534b5e51670cd1ab6
https://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-f90a5361f2c8d83ce4692d60ced85fc3cad204af7007464534b5e51670cd1ab6
https://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-f90a5361f2c8d83ce4692d60ced85fc3cad204af7007464534b5e51670cd1ab6
dan-fhttps://github.com/dan-f
Sep 8, 2017https://github.com/nodeSolidServer/node-solid-server/pull/584/files#r137813325
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodeSolidServer/node-solid-server/pull/584/files
RubenVerborghhttps://github.com/RubenVerborgh
Sep 8, 2017https://github.com/nodeSolidServer/node-solid-server/pull/584/files#r137824603
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodeSolidServer/node-solid-server/pull/584/files
dan-fhttps://github.com/dan-f
Sep 8, 2017https://github.com/nodeSolidServer/node-solid-server/pull/584/files#r137846646
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodeSolidServer/node-solid-server/pull/584/files
dan-fhttps://github.com/dan-f
Sep 8, 2017https://github.com/nodeSolidServer/node-solid-server/pull/584/files#r137813352
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodeSolidServer/node-solid-server/pull/584/files
RubenVerborghhttps://github.com/RubenVerborgh
Sep 8, 2017https://github.com/nodeSolidServer/node-solid-server/pull/584/files#r137825149
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodeSolidServer/node-solid-server/pull/584/files
RubenVerborghhttps://github.com/RubenVerborgh
Sep 8, 2017https://github.com/nodeSolidServer/node-solid-server/pull/584/files#r137825272
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodeSolidServer/node-solid-server/pull/584/files
dan-fhttps://github.com/dan-f
Sep 8, 2017https://github.com/nodeSolidServer/node-solid-server/pull/584/files#r137846746
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodeSolidServer/node-solid-server/pull/584/files
dan-fhttps://github.com/dan-f
Sep 8, 2017https://github.com/nodeSolidServer/node-solid-server/pull/584/files#r137813615
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodeSolidServer/node-solid-server/pull/584/files
RubenVerborghhttps://github.com/RubenVerborgh
Sep 8, 2017https://github.com/nodeSolidServer/node-solid-server/pull/584/files#r137824710
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodeSolidServer/node-solid-server/pull/584/files
https://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-f90a5361f2c8d83ce4692d60ced85fc3cad204af7007464534b5e51670cd1ab6
lib/ldp.jshttps://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-98a11be785b8100aab3a553eed0e3656a235f06463d2979fd08bafcdf503abdf
View file https://github.com/nodeSolidServer/node-solid-server/blob/4e944a09d088fc349ab0a5c92b41a0e2462e2a30/lib/ldp.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodeSolidServer/node-solid-server/pull/584/{{ revealButtonHref }}
https://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-98a11be785b8100aab3a553eed0e3656a235f06463d2979fd08bafcdf503abdf
dan-fhttps://github.com/dan-f
Sep 8, 2017https://github.com/nodeSolidServer/node-solid-server/pull/584/files#r137814024
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodeSolidServer/node-solid-server/pull/584/files
RubenVerborghhttps://github.com/RubenVerborgh
Sep 8, 2017https://github.com/nodeSolidServer/node-solid-server/pull/584/files#r137825597
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodeSolidServer/node-solid-server/pull/584/files
https://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-98a11be785b8100aab3a553eed0e3656a235f06463d2979fd08bafcdf503abdf
https://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-98a11be785b8100aab3a553eed0e3656a235f06463d2979fd08bafcdf503abdf
https://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-98a11be785b8100aab3a553eed0e3656a235f06463d2979fd08bafcdf503abdf
https://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-98a11be785b8100aab3a553eed0e3656a235f06463d2979fd08bafcdf503abdf
https://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-98a11be785b8100aab3a553eed0e3656a235f06463d2979fd08bafcdf503abdf
https://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-98a11be785b8100aab3a553eed0e3656a235f06463d2979fd08bafcdf503abdf
https://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-98a11be785b8100aab3a553eed0e3656a235f06463d2979fd08bafcdf503abdf
test/integration/http-test.jshttps://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-1c1b169190475ccbbd09c67776e9fe6b0f6156983cd851c0230c74977b491fcc
View file https://github.com/nodeSolidServer/node-solid-server/blob/4e944a09d088fc349ab0a5c92b41a0e2462e2a30/test/integration/http-test.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodeSolidServer/node-solid-server/pull/584/{{ revealButtonHref }}
https://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-1c1b169190475ccbbd09c67776e9fe6b0f6156983cd851c0230c74977b491fcc
https://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-1c1b169190475ccbbd09c67776e9fe6b0f6156983cd851c0230c74977b491fcc
https://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-1c1b169190475ccbbd09c67776e9fe6b0f6156983cd851c0230c74977b491fcc
https://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-1c1b169190475ccbbd09c67776e9fe6b0f6156983cd851c0230c74977b491fcc
https://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-1c1b169190475ccbbd09c67776e9fe6b0f6156983cd851c0230c74977b491fcc
https://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-1c1b169190475ccbbd09c67776e9fe6b0f6156983cd851c0230c74977b491fcc
https://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-1c1b169190475ccbbd09c67776e9fe6b0f6156983cd851c0230c74977b491fcc
dan-fhttps://github.com/dan-f
Sep 8, 2017https://github.com/nodeSolidServer/node-solid-server/pull/584/files#r137817976
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodeSolidServer/node-solid-server/pull/584/files
RubenVerborghhttps://github.com/RubenVerborgh
Sep 8, 2017https://github.com/nodeSolidServer/node-solid-server/pull/584/files#r137826389
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodeSolidServer/node-solid-server/pull/584/files
dan-fhttps://github.com/dan-f
Sep 8, 2017https://github.com/nodeSolidServer/node-solid-server/pull/584/files#r137818061
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodeSolidServer/node-solid-server/pull/584/files
RubenVerborghhttps://github.com/RubenVerborgh
Sep 8, 2017https://github.com/nodeSolidServer/node-solid-server/pull/584/files#r137826432
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodeSolidServer/node-solid-server/pull/584/files
https://github.com/nodeSolidServer/node-solid-server/pull/584/files#diff-1c1b169190475ccbbd09c67776e9fe6b0f6156983cd851c0230c74977b491fcc
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.