René's URL Explorer Experiment


Title: Fix for performing chunked upload by richmouritsen · Pull Request #154 · DropNet/DropNet · GitHub

Open Graph Title: Fix for performing chunked upload by richmouritsen · Pull Request #154 · DropNet/DropNet

X Title: Fix for performing chunked upload by richmouritsen · Pull Request #154 · DropNet/DropNet

Description: I was trying to use the chunked upload using the StartChunkedUpload, AppendChunkedUpload, and CommitChunkedUpload methods, but it wasn't working. I wasn't getting an exception on the initial StartChunkedUpload call, but the ChunkUpload object coming back was empty, which eventually led to a null reference exception. Using Fiddler, I looked at the request and found this call on the Create: PUT /1/chunked_upload?oauth_consumer_key={oauth_consumer_key}&oauth_nonce={oauth_nonce}&oauth_token={oauth_token}&oauth_timestamp={oauth_timestamp}&oauth_signature={oauth_signature}&oauth_signature_method={oauth_signature_method}&oauth_version={oauth_version} HTTP/1.1 which resulted in this response: {"error": "Invalid app key (consumer key). Check your app's configuration to make sure everything is correct."} I looked at the code and found that in both CreateChunkedUploadRequest and CreateAppendChunkedUploadRequest, several oauth parameters were being added to the request, but that they weren't being populated. It didn't look like these oauth parameters were present in other similar calls so I didn't think they were necessary. I ended up removing them and the chunked upload then worked. On create, my request looked like this: PUT /1/chunked_upload HTTP/1.1 And my response like this: {"expires": "Wed, 18 May 2016 21:14:19 +0000", "upload_id": "AAAAAAAAAdGk8g0SdUJBLQ", "offset": 4194304} I was then able to make an append request like this: PUT /1/chunked_upload?upload_id=AAAAAAAAAdGk8g0SdUJBLQ&offset=4194304 HTTP/1.1

Open Graph Description: I was trying to use the chunked upload using the StartChunkedUpload, AppendChunkedUpload, and CommitChunkedUpload methods, but it wasn't working. I wasn't getting an exception on the initia...

X Description: I was trying to use the chunked upload using the StartChunkedUpload, AppendChunkedUpload, and CommitChunkedUpload methods, but it wasn't working. I wasn't getting an exception on th...

Opengraph URL: https://github.com/DropNet/DropNet/pull/154

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:0c0820ba-0eb6-23db-13a8-6eda78be39d7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD808:39F7A9:21560C:29A212:697FA076
html-safe-noncec191a6bd86a2e0be22b43d9af3e551d3d562ac19a148508f85153017da914076
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODA4OjM5RjdBOToyMTU2MEM6MjlBMjEyOjY5N0ZBMDc2IiwidmlzaXRvcl9pZCI6IjI4NTM1NzYyMDAyMTc5Mjc3OTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacde075f01272ee125ee69f905bffec4f0427b8b2b0490ec1a0f1cbdd2f0c1459e
hovercard-subject-tagpull_request:70408134
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/DropNet/DropNet/pull/154/files
twitter:imagehttps://avatars.githubusercontent.com/u/1235338?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1235338?s=400&v=4
og:image:altI was trying to use the chunked upload using the StartChunkedUpload, AppendChunkedUpload, and CommitChunkedUpload methods, but it wasn't working. I wasn't getting an exception on the initia...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/DropNet/DropNet git https://github.com/DropNet/DropNet.git
octolytics-dimension-user_id7176748
octolytics-dimension-user_loginDropNet
octolytics-dimension-repository_id678462
octolytics-dimension-repository_nwoDropNet/DropNet
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id678462
octolytics-dimension-repository_network_root_nwoDropNet/DropNet
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7c85641c598ad130c74f7bcc27f58575cac69551
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/DropNet/DropNet/pull/154/changes#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FDropNet%2FDropNet%2Fpull%2F154%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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FDropNet%2FDropNet%2Fpull%2F154%2Ffiles
Sign up https://patch-diff.githubusercontent.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=DropNet%2FDropNet
Reloadhttps://patch-diff.githubusercontent.com/DropNet/DropNet/pull/154/changes
Reloadhttps://patch-diff.githubusercontent.com/DropNet/DropNet/pull/154/changes
Reloadhttps://patch-diff.githubusercontent.com/DropNet/DropNet/pull/154/changes
DropNet https://patch-diff.githubusercontent.com/DropNet
DropNethttps://patch-diff.githubusercontent.com/DropNet/DropNet
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FDropNet%2FDropNet
Fork 164 https://patch-diff.githubusercontent.com/login?return_to=%2FDropNet%2FDropNet
Star 419 https://patch-diff.githubusercontent.com/login?return_to=%2FDropNet%2FDropNet
Code https://patch-diff.githubusercontent.com/DropNet/DropNet
Issues 28 https://patch-diff.githubusercontent.com/DropNet/DropNet/issues
Pull requests 1 https://patch-diff.githubusercontent.com/DropNet/DropNet/pulls
Actions https://patch-diff.githubusercontent.com/DropNet/DropNet/actions
Projects 0 https://patch-diff.githubusercontent.com/DropNet/DropNet/projects
Wiki https://patch-diff.githubusercontent.com/DropNet/DropNet/wiki
Security 0 https://patch-diff.githubusercontent.com/DropNet/DropNet/security
Insights https://patch-diff.githubusercontent.com/DropNet/DropNet/pulse
Code https://patch-diff.githubusercontent.com/DropNet/DropNet
Issues https://patch-diff.githubusercontent.com/DropNet/DropNet/issues
Pull requests https://patch-diff.githubusercontent.com/DropNet/DropNet/pulls
Actions https://patch-diff.githubusercontent.com/DropNet/DropNet/actions
Projects https://patch-diff.githubusercontent.com/DropNet/DropNet/projects
Wiki https://patch-diff.githubusercontent.com/DropNet/DropNet/wiki
Security https://patch-diff.githubusercontent.com/DropNet/DropNet/security
Insights https://patch-diff.githubusercontent.com/DropNet/DropNet/pulse
richmouritsenhttps://patch-diff.githubusercontent.com/richmouritsen
DropNet:masterhttps://patch-diff.githubusercontent.com/DropNet/DropNet/tree/master
richmouritsen:masterhttps://patch-diff.githubusercontent.com/richmouritsen/DropNet/tree/master
Conversation 0 https://patch-diff.githubusercontent.com/DropNet/DropNet/pull/154
Commits 1 https://patch-diff.githubusercontent.com/DropNet/DropNet/pull/154/commits
Checks 0 https://patch-diff.githubusercontent.com/DropNet/DropNet/pull/154/checks
Files changed https://patch-diff.githubusercontent.com/DropNet/DropNet/pull/154/files
Please reload this pagehttps://patch-diff.githubusercontent.com/DropNet/DropNet/pull/154/changes
Fix for performing chunked upload https://patch-diff.githubusercontent.com/DropNet/DropNet/pull/154/changes#top
Show all changes 1 commit https://patch-diff.githubusercontent.com/DropNet/DropNet/pull/154/files
3389ba7 Remove unneeded and unpopulated parameters when creating a request fo… May 17, 2016 https://patch-diff.githubusercontent.com/DropNet/DropNet/pull/154/commits/3389ba755430d1943d00b67e5c27136e9a29e31e
Clear filters https://patch-diff.githubusercontent.com/DropNet/DropNet/pull/154/files
Please reload this pagehttps://patch-diff.githubusercontent.com/DropNet/DropNet/pull/154/changes
Please reload this pagehttps://patch-diff.githubusercontent.com/DropNet/DropNet/pull/154/changes
DropNet/Helpers/RequestHelper.cshttps://patch-diff.githubusercontent.com/DropNet/DropNet/pull/154/changes#diff-60c38a6b0b505e83303e16caeb0fb24c0876e28c609b24bac19a905ba1452d16
View file https://patch-diff.githubusercontent.com/DropNet/DropNet/blob/3389ba755430d1943d00b67e5c27136e9a29e31e/DropNet/Helpers/RequestHelper.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/DropNet/DropNet/pull/154/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/DropNet/DropNet/pull/154/changes#diff-60c38a6b0b505e83303e16caeb0fb24c0876e28c609b24bac19a905ba1452d16
https://patch-diff.githubusercontent.com/DropNet/DropNet/pull/154/changes#diff-60c38a6b0b505e83303e16caeb0fb24c0876e28c609b24bac19a905ba1452d16
https://patch-diff.githubusercontent.com/DropNet/DropNet/pull/154/changes#diff-60c38a6b0b505e83303e16caeb0fb24c0876e28c609b24bac19a905ba1452d16
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.