René's URL Explorer Experiment


Title: Custom push headers by srajko · Pull Request #4 · nodegit/libgit2 · GitHub

Open Graph Title: Custom push headers by srajko · Pull Request #4 · nodegit/libgit2

X Title: Custom push headers by srajko · Pull Request #4 · nodegit/libgit2

Description: The Library. Contribute to nodegit/libgit2 development by creating an account on GitHub.

Open Graph Description: This backports libgit2#3411 on top of maint/0.23.

X Description: This backports libgit2#3411 on top of maint/0.23.

Opengraph URL: https://github.com/nodegit/libgit2/pull/4

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:89b5e50f-a1dd-7fe9-39c8-7912e7f4aea3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8CDA:FE611:9F1908:D6A0F9:6A6115A1
html-safe-nonceee399a0b3c404ececef69013c7a10ec9ad292a1e6aa4182383695aa642fcbe2a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0RBOkZFNjExOjlGMTkwODpENkEwRjk6NkE2MTE1QTEiLCJ2aXNpdG9yX2lkIjoiMzUzMDczNzgyMDkxMDAzMjI4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacabb2666181b7fe6f5f7cabf618403670ccc30a3be60c130a04550295698d3383
hovercard-subject-tagpull_request:57236124
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/nodegit/libgit2/pull/4/commits
twitter:imagehttps://opengraph.githubassets.com/6ee7aafec5324d5b4b1912497152b111a8aa0b72c8986114216354b2db26d497/nodegit/libgit2/pull/4
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6ee7aafec5324d5b4b1912497152b111a8aa0b72c8986114216354b2db26d497/nodegit/libgit2/pull/4
og:image:altThis backports libgit2#3411 on top of maint/0.23.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesrajko
hostnamegithub.com
expected-hostnamegithub.com
Nonef6dfd8e93b1f2b4f7bf96e6f6cd7edcd48360b75fee4f2ff9f611032fce38ec2
turbo-cache-controlno-cache
go-importgithub.com/nodegit/libgit2 git https://github.com/nodegit/libgit2.git
octolytics-dimension-user_id657068
octolytics-dimension-user_loginnodegit
octolytics-dimension-repository_id30660191
octolytics-dimension-repository_nwonodegit/libgit2
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id901662
octolytics-dimension-repository_parent_nwolibgit2/libgit2
octolytics-dimension-repository_network_root_id901662
octolytics-dimension-repository_network_root_nwolibgit2/libgit2
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release731b2ebd4784c28b421dc5f41abecd2dbac357f2
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodegit/libgit2/pull/4/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodegit%2Flibgit2%2Fpull%2F4%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2Fnodegit%2Flibgit2%2Fpull%2F4%2Fcommits
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%2Fcommits&source=header-repo&source_repo=nodegit%2Flibgit2
Reloadhttps://github.com/nodegit/libgit2/pull/4/commits
Reloadhttps://github.com/nodegit/libgit2/pull/4/commits
Reloadhttps://github.com/nodegit/libgit2/pull/4/commits
Please reload this pagehttps://github.com/nodegit/libgit2/pull/4/commits
nodegit https://github.com/nodegit
libgit2https://github.com/nodegit/libgit2
libgit2/libgit2https://github.com/libgit2/libgit2
Notifications https://github.com/login?return_to=%2Fnodegit%2Flibgit2
Fork 6 https://github.com/login?return_to=%2Fnodegit%2Flibgit2
Star 4 https://github.com/login?return_to=%2Fnodegit%2Flibgit2
Code https://github.com/nodegit/libgit2
Pull requests 0 https://github.com/nodegit/libgit2/pulls
Actions https://github.com/nodegit/libgit2/actions
Projects https://github.com/nodegit/libgit2/projects
Security and quality 0 https://github.com/nodegit/libgit2/security
Insights https://github.com/nodegit/libgit2/pulse
Code https://github.com/nodegit/libgit2
Pull requests https://github.com/nodegit/libgit2/pulls
Actions https://github.com/nodegit/libgit2/actions
Projects https://github.com/nodegit/libgit2/projects
Security and quality https://github.com/nodegit/libgit2/security
Insights https://github.com/nodegit/libgit2/pulse
johnhaley81https://github.com/johnhaley81
nodegit:maint/v0.23https://github.com/nodegit/libgit2/tree/maint/v0.23
srajko:custom-push-headershttps://github.com/srajko/libgit2/tree/custom-push-headers
Conversationhttps://github.com/nodegit/libgit2/pull/4
Commits22 (22)https://github.com/nodegit/libgit2/pull/4/commits
Checkshttps://github.com/nodegit/libgit2/pull/4/checks
Files changedhttps://github.com/nodegit/libgit2/pull/4/files
Custom push headershttps://github.com/nodegit/libgit2/pull/4/commits#top
johnhaley81https://github.com/johnhaley81
nodegit:maint/v0.23https://github.com/nodegit/libgit2/tree/maint/v0.23
srajko:custom-push-headershttps://github.com/srajko/libgit2/tree/custom-push-headers
Add more headers to HTTP requestshttps://github.com/nodegit/libgit2/pull/4/commits/c92ccb1e7a59542d105b3e07d614deb04f110d6b
spraintshttps://github.com/nodegit/libgit2/commits?author=spraints
srajkohttps://github.com/nodegit/libgit2/commits?author=srajko
c92ccb1https://github.com/nodegit/libgit2/pull/4/commits/c92ccb1e7a59542d105b3e07d614deb04f110d6b
https://github.com/nodegit/libgit2/tree/c92ccb1e7a59542d105b3e07d614deb04f110d6b
Put the extra headers on the connection_data insteadhttps://github.com/nodegit/libgit2/pull/4/commits/b8f8a50bbe7665fc421f658b86973fcb99995ca7
spraintshttps://github.com/nodegit/libgit2/commits?author=spraints
srajkohttps://github.com/nodegit/libgit2/commits?author=srajko
b8f8a50https://github.com/nodegit/libgit2/pull/4/commits/b8f8a50bbe7665fc421f658b86973fcb99995ca7
https://github.com/nodegit/libgit2/tree/b8f8a50bbe7665fc421f658b86973fcb99995ca7
Pull extra_http_headers from the git_remotehttps://github.com/nodegit/libgit2/pull/4/commits/c838aa9e3043c95fde15e985234a41d309161ea9
spraintshttps://github.com/nodegit/libgit2/commits?author=spraints
srajkohttps://github.com/nodegit/libgit2/commits?author=srajko
c838aa9https://github.com/nodegit/libgit2/pull/4/commits/c838aa9e3043c95fde15e985234a41d309161ea9
https://github.com/nodegit/libgit2/tree/c838aa9e3043c95fde15e985234a41d309161ea9
Allow the world to set HTTP headers for remoteshttps://github.com/nodegit/libgit2/pull/4/commits/fa39651e4ded7e3de5f4686055cb712c8aa2d4fe
spraintshttps://github.com/nodegit/libgit2/commits?author=spraints
srajkohttps://github.com/nodegit/libgit2/commits?author=srajko
fa39651https://github.com/nodegit/libgit2/pull/4/commits/fa39651e4ded7e3de5f4686055cb712c8aa2d4fe
https://github.com/nodegit/libgit2/tree/fa39651e4ded7e3de5f4686055cb712c8aa2d4fe
Drop extra_http_headers from git_remotehttps://github.com/nodegit/libgit2/pull/4/commits/aa90f8dbe1367c12ae57457d8cf50872ff4d39e6
spraintshttps://github.com/nodegit/libgit2/commits?author=spraints
srajkohttps://github.com/nodegit/libgit2/commits?author=srajko
aa90f8dhttps://github.com/nodegit/libgit2/pull/4/commits/aa90f8dbe1367c12ae57457d8cf50872ff4d39e6
https://github.com/nodegit/libgit2/tree/aa90f8dbe1367c12ae57457d8cf50872ff4d39e6
Add custom_headers to git_push_optionshttps://github.com/nodegit/libgit2/pull/4/commits/0741be57981a0f863f1545b2f7b66082f3c61ae3
spraintshttps://github.com/nodegit/libgit2/commits?author=spraints
srajkohttps://github.com/nodegit/libgit2/commits?author=srajko
0741be5https://github.com/nodegit/libgit2/pull/4/commits/0741be57981a0f863f1545b2f7b66082f3c61ae3
https://github.com/nodegit/libgit2/tree/0741be57981a0f863f1545b2f7b66082f3c61ae3
Tell the git_transport about the custom_headershttps://github.com/nodegit/libgit2/pull/4/commits/8ac3aafd5051d96d37434c566debdf5c28d54158
spraintshttps://github.com/nodegit/libgit2/commits?author=spraints
srajkohttps://github.com/nodegit/libgit2/commits?author=srajko
8ac3aafhttps://github.com/nodegit/libgit2/pull/4/commits/8ac3aafd5051d96d37434c566debdf5c28d54158
https://github.com/nodegit/libgit2/tree/8ac3aafd5051d96d37434c566debdf5c28d54158
Hook up the custom_headers to the http transporthttps://github.com/nodegit/libgit2/pull/4/commits/98cdf3b16d1b1d57c1d6a1aef7cfb4c6c8ce27af
spraintshttps://github.com/nodegit/libgit2/commits?author=spraints
srajkohttps://github.com/nodegit/libgit2/commits?author=srajko
98cdf3bhttps://github.com/nodegit/libgit2/pull/4/commits/98cdf3b16d1b1d57c1d6a1aef7cfb4c6c8ce27af
https://github.com/nodegit/libgit2/tree/98cdf3b16d1b1d57c1d6a1aef7cfb4c6c8ce27af
Teach winhttp about the extra headershttps://github.com/nodegit/libgit2/pull/4/commits/71b4e8a5a7d2e0981ee3d198afcd3a73e3ffbd71
spraintshttps://github.com/nodegit/libgit2/commits?author=spraints
srajkohttps://github.com/nodegit/libgit2/commits?author=srajko
71b4e8ahttps://github.com/nodegit/libgit2/pull/4/commits/71b4e8a5a7d2e0981ee3d198afcd3a73e3ffbd71
https://github.com/nodegit/libgit2/tree/71b4e8a5a7d2e0981ee3d198afcd3a73e3ffbd71
Update another call to git_remote_connecthttps://github.com/nodegit/libgit2/pull/4/commits/3d5abd2eb048b9d286d9653e6b32bb0c3442f5c0
spraintshttps://github.com/nodegit/libgit2/commits?author=spraints
srajkohttps://github.com/nodegit/libgit2/commits?author=srajko
3d5abd2https://github.com/nodegit/libgit2/pull/4/commits/3d5abd2eb048b9d286d9653e6b32bb0c3442f5c0
https://github.com/nodegit/libgit2/tree/3d5abd2eb048b9d286d9653e6b32bb0c3442f5c0
o ihttps://github.com/nodegit/libgit2/pull/4/commits/6784976bd6490a9833314717230de62a36a82fbf
spraintshttps://github.com/nodegit/libgit2/commits?author=spraints
srajkohttps://github.com/nodegit/libgit2/commits?author=srajko
6784976https://github.com/nodegit/libgit2/pull/4/commits/6784976bd6490a9833314717230de62a36a82fbf
https://github.com/nodegit/libgit2/tree/6784976bd6490a9833314717230de62a36a82fbf
Accept custom headers for fetch toohttps://github.com/nodegit/libgit2/pull/4/commits/04d65c8aab6f79de60ab94d24378a146044de8b0
spraintshttps://github.com/nodegit/libgit2/commits?author=spraints
srajkohttps://github.com/nodegit/libgit2/commits?author=srajko
04d65c8https://github.com/nodegit/libgit2/pull/4/commits/04d65c8aab6f79de60ab94d24378a146044de8b0
https://github.com/nodegit/libgit2/tree/04d65c8aab6f79de60ab94d24378a146044de8b0
Ignore NULL headershttps://github.com/nodegit/libgit2/pull/4/commits/1c865043f62564196c3e0e4788b4284d3e18bbc4
spraintshttps://github.com/nodegit/libgit2/commits?author=spraints
srajkohttps://github.com/nodegit/libgit2/commits?author=srajko
1c86504https://github.com/nodegit/libgit2/pull/4/commits/1c865043f62564196c3e0e4788b4284d3e18bbc4
https://github.com/nodegit/libgit2/tree/1c865043f62564196c3e0e4788b4284d3e18bbc4
Validate custom http headershttps://github.com/nodegit/libgit2/pull/4/commits/ce04ad912800c63988be11fd1954c902b6d1fd17
spraintshttps://github.com/nodegit/libgit2/commits?author=spraints
srajkohttps://github.com/nodegit/libgit2/commits?author=srajko
ce04ad9https://github.com/nodegit/libgit2/pull/4/commits/ce04ad912800c63988be11fd1954c902b6d1fd17
https://github.com/nodegit/libgit2/tree/ce04ad912800c63988be11fd1954c902b6d1fd17
More specific nameshttps://github.com/nodegit/libgit2/pull/4/commits/86cfd88ca84a577c53e674196ac773990977b303
spraintshttps://github.com/nodegit/libgit2/commits?author=spraints
srajkohttps://github.com/nodegit/libgit2/commits?author=srajko
86cfd88https://github.com/nodegit/libgit2/pull/4/commits/86cfd88ca84a577c53e674196ac773990977b303
https://github.com/nodegit/libgit2/tree/86cfd88ca84a577c53e674196ac773990977b303
Add a test for custom header validationhttps://github.com/nodegit/libgit2/pull/4/commits/782908eeb53aec3f7c428202a290762e0ef35367
spraintshttps://github.com/nodegit/libgit2/commits?author=spraints
srajkohttps://github.com/nodegit/libgit2/commits?author=srajko
782908ehttps://github.com/nodegit/libgit2/pull/4/commits/782908eeb53aec3f7c428202a290762e0ef35367
https://github.com/nodegit/libgit2/tree/782908eeb53aec3f7c428202a290762e0ef35367
Avoid segfault when opts == NULLhttps://github.com/nodegit/libgit2/pull/4/commits/71d63fbd32d58ccc83f7d2c1633508297ad77542
spraintshttps://github.com/nodegit/libgit2/commits?author=spraints
srajkohttps://github.com/nodegit/libgit2/commits?author=srajko
71d63fbhttps://github.com/nodegit/libgit2/pull/4/commits/71d63fbd32d58ccc83f7d2c1633508297ad77542
https://github.com/nodegit/libgit2/tree/71d63fbd32d58ccc83f7d2c1633508297ad77542
Use an array of forbidden custom headershttps://github.com/nodegit/libgit2/pull/4/commits/5827ed16bc3689aeea9cd77e5d7a2e1b5c50ba9a
spraintshttps://github.com/nodegit/libgit2/commits?author=spraints
srajkohttps://github.com/nodegit/libgit2/commits?author=srajko
5827ed1https://github.com/nodegit/libgit2/pull/4/commits/5827ed16bc3689aeea9cd77e5d7a2e1b5c50ba9a
https://github.com/nodegit/libgit2/tree/5827ed16bc3689aeea9cd77e5d7a2e1b5c50ba9a
Don't null-checkhttps://github.com/nodegit/libgit2/pull/4/commits/e406153360d65e8bd9979d6309dbb3ead1bde7c7
spraintshttps://github.com/nodegit/libgit2/commits?author=spraints
srajkohttps://github.com/nodegit/libgit2/commits?author=srajko
e406153https://github.com/nodegit/libgit2/pull/4/commits/e406153360d65e8bd9979d6309dbb3ead1bde7c7
https://github.com/nodegit/libgit2/tree/e406153360d65e8bd9979d6309dbb3ead1bde7c7
Revise custom header error messageshttps://github.com/nodegit/libgit2/pull/4/commits/e6f33459365d313dac85fc9b389837e9bae6ce54
spraintshttps://github.com/nodegit/libgit2/commits?author=spraints
srajkohttps://github.com/nodegit/libgit2/commits?author=srajko
e6f3345https://github.com/nodegit/libgit2/pull/4/commits/e6f33459365d313dac85fc9b389837e9bae6ce54
https://github.com/nodegit/libgit2/tree/e6f33459365d313dac85fc9b389837e9bae6ce54
These can be statichttps://github.com/nodegit/libgit2/pull/4/commits/de80e1e8f69e8727d6d9d906a12b6a0aea504262
spraintshttps://github.com/nodegit/libgit2/commits?author=spraints
srajkohttps://github.com/nodegit/libgit2/commits?author=srajko
de80e1ehttps://github.com/nodegit/libgit2/pull/4/commits/de80e1e8f69e8727d6d9d906a12b6a0aea504262
https://github.com/nodegit/libgit2/tree/de80e1e8f69e8727d6d9d906a12b6a0aea504262
Copy custom_headers insteach of referencing the caller's copyhttps://github.com/nodegit/libgit2/pull/4/commits/4bef9a8158f21902fc53d052b2c152fb01b2f4eb
spraintshttps://github.com/nodegit/libgit2/commits?author=spraints
srajkohttps://github.com/nodegit/libgit2/commits?author=srajko
4bef9a8https://github.com/nodegit/libgit2/pull/4/commits/4bef9a8158f21902fc53d052b2c152fb01b2f4eb
https://github.com/nodegit/libgit2/tree/4bef9a8158f21902fc53d052b2c152fb01b2f4eb
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.