René's URL Explorer Experiment


Title: Get curl command line for a request by daurnimator · Pull Request #80 · daurnimator/lua-http · GitHub

Open Graph Title: Get curl command line for a request by daurnimator · Pull Request #80 · daurnimator/lua-http

X Title: Get curl command line for a request by daurnimator · Pull Request #80 · daurnimator/lua-http

Description: HTTP Library for Lua. Supports HTTP(S) 1.0, 1.1 and 2.0; client and server. - Get curl command line for a request by daurnimator · Pull Request #80 · daurnimator/lua-http

Open Graph Description: WIP Open Questions: How to handle non-string bodies?

X Description: WIP Open Questions: How to handle non-string bodies?

Opengraph URL: https://github.com/daurnimator/lua-http/pull/80

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:880dc266-8923-9c27-f72b-bbfc71d8c165
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8EE4:37368E:19F6EE7:239EFF5:6A4C07F8
html-safe-noncefa0f8c560041555450edb68b10d8ee3cdbd6136b31e9267eac4141fdf261228d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RUU0OjM3MzY4RToxOUY2RUU3OjIzOUVGRjU6NkE0QzA3RjgiLCJ2aXNpdG9yX2lkIjoiMTIwNjM5MjkzMDEwMjQxMzMwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf6292d9a6bc093e0890264db37ee1509f8948907e51ce7e73046da71089caae3
hovercard-subject-tagpull_request:136448568
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/daurnimator/lua-http/80/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f827557181b74c7baa87eaa7decee5916da31bbc14401bdba598dd31aa3ba9fd/daurnimator/lua-http/pull/80
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f827557181b74c7baa87eaa7decee5916da31bbc14401bdba598dd31aa3ba9fd/daurnimator/lua-http/pull/80
og:image:altWIP Open Questions: How to handle non-string bodies?
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedaurnimator
hostnamegithub.com
expected-hostnamegithub.com
None940b0dbb4d0fe72558ee760b2ff0f25a504383fdfe404f3a7691ec853b8dc17f
turbo-cache-controlno-cache
go-importgithub.com/daurnimator/lua-http git https://github.com/daurnimator/lua-http.git
octolytics-dimension-user_id127971
octolytics-dimension-user_logindaurnimator
octolytics-dimension-repository_id29999057
octolytics-dimension-repository_nwodaurnimator/lua-http
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id29999057
octolytics-dimension-repository_network_root_nwodaurnimator/lua-http
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
releaseb0267d17ea43e55446153a7e2c60bb6ac3cffd6b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/daurnimator/lua-http/pull/80#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdaurnimator%2Flua-http%2Fpull%2F80
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
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/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/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/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%2Fdaurnimator%2Flua-http%2Fpull%2F80
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=daurnimator%2Flua-http
Reloadhttps://github.com/daurnimator/lua-http/pull/80
Reloadhttps://github.com/daurnimator/lua-http/pull/80
Reloadhttps://github.com/daurnimator/lua-http/pull/80
daurnimator https://github.com/daurnimator
lua-httphttps://github.com/daurnimator/lua-http
Notifications https://github.com/login?return_to=%2Fdaurnimator%2Flua-http
Fork 86 https://github.com/login?return_to=%2Fdaurnimator%2Flua-http
Star 873 https://github.com/login?return_to=%2Fdaurnimator%2Flua-http
Code https://github.com/daurnimator/lua-http
Issues 53 https://github.com/daurnimator/lua-http/issues
Pull requests 15 https://github.com/daurnimator/lua-http/pulls
Discussions https://github.com/daurnimator/lua-http/discussions
Actions https://github.com/daurnimator/lua-http/actions
Projects https://github.com/daurnimator/lua-http/projects
Wiki https://github.com/daurnimator/lua-http/wiki
Security and quality 0 https://github.com/daurnimator/lua-http/security
Insights https://github.com/daurnimator/lua-http/pulse
Code https://github.com/daurnimator/lua-http
Issues https://github.com/daurnimator/lua-http/issues
Pull requests https://github.com/daurnimator/lua-http/pulls
Discussions https://github.com/daurnimator/lua-http/discussions
Actions https://github.com/daurnimator/lua-http/actions
Projects https://github.com/daurnimator/lua-http/projects
Wiki https://github.com/daurnimator/lua-http/wiki
Security and quality https://github.com/daurnimator/lua-http/security
Insights https://github.com/daurnimator/lua-http/pulse
daurnimatorhttps://github.com/daurnimator
masterhttps://github.com/daurnimator/lua-http/tree/master
http.request.tocurlhttps://github.com/daurnimator/lua-http/tree/http.request.tocurl
Conversationhttps://github.com/daurnimator/lua-http/pull/80
Commits19 (19)https://github.com/daurnimator/lua-http/pull/80/commits
Checkshttps://github.com/daurnimator/lua-http/pull/80/checks
Files changedhttps://github.com/daurnimator/lua-http/pull/80/files
Get curl command line for a requesthttps://github.com/daurnimator/lua-http/pull/80#top
daurnimatorhttps://github.com/daurnimator
masterhttps://github.com/daurnimator/lua-http/tree/master
http.request.tocurlhttps://github.com/daurnimator/lua-http/tree/http.request.tocurl
https://github.com/daurnimator
daurnimatorhttps://github.com/daurnimator
Aug 18, 2017https://github.com/daurnimator/lua-http/pull/80#issue-251204764
Please reload this pagehttps://github.com/daurnimator/lua-http/pull/80
Please reload this pagehttps://github.com/daurnimator/lua-http/pull/80
daurnimatorhttps://github.com/daurnimator
January 20, 2016 14:48https://github.com/daurnimator/lua-http/pull/80#commits-pushed-21360f1
https://github.com/daurnimator
http.request: Add :to_curl method that returns the equivalent request…https://github.com/daurnimator/lua-http/pull/80/commits/21360f1d2a2b7c8a7c1dfb2d364ad3de684fcc0f
21360f1https://github.com/daurnimator/lua-http/pull/80/commits/21360f1d2a2b7c8a7c1dfb2d364ad3de684fcc0f
https://github.com/daurnimator
http.request: :to_curl: fix command line escapinghttps://github.com/daurnimator/lua-http/pull/80/commits/bf2e5ca37f01b3b6be9e8f3950e3d58d6d3fde54
bf2e5cahttps://github.com/daurnimator/lua-http/pull/80/commits/bf2e5ca37f01b3b6be9e8f3950e3d58d6d3fde54
https://github.com/daurnimator
http.request: :to_curl better commentshttps://github.com/daurnimator/lua-http/pull/80/commits/e66c5f3083090a3d3aa6fcb870b03e3b305c7f86
e66c5f3https://github.com/daurnimator/lua-http/pull/80/commits/e66c5f3083090a3d3aa6fcb870b03e3b305c7f86
https://github.com/daurnimator
http/request: Fix NYI. curl gained a flag for setting the expect timeouthttps://github.com/daurnimator/lua-http/pull/80/commits/588e6557b323f83e89a71ec0312d9b48fd834659
588e655https://github.com/daurnimator/lua-http/pull/80/commits/588e6557b323f83e89a71ec0312d9b48fd834659
curl/curl@b4a3949https://github.com/curl/curl/commit/b4a39491cacde68c9ed5499db7fcc873976e1879
https://github.com/daurnimator
Merge branch 'master' into http.request.tocurlhttps://github.com/daurnimator/lua-http/pull/80/commits/5a7ae9dfdb45811291446320121054b5d219bfa9
5a7ae9dhttps://github.com/daurnimator/lua-http/pull/80/commits/5a7ae9dfdb45811291446320121054b5d219bfa9
https://github.com/daurnimator
http.request: Reorder checks in to_curlhttps://github.com/daurnimator/lua-http/pull/80/commits/60e039d7e0d18de5aab65766b2d6786291501704
60e039dhttps://github.com/daurnimator/lua-http/pull/80/commits/60e039d7e0d18de5aab65766b2d6786291501704
https://github.com/daurnimator
http.request: :to_curl: add support for post301 and post302 optionshttps://github.com/daurnimator/lua-http/pull/80/commits/40d81ca9b833bc7f6086da1aa10cf8b5e1c135b7
40d81cahttps://github.com/daurnimator/lua-http/pull/80/commits/40d81ca9b833bc7f6086da1aa10cf8b5e1c135b7
https://github.com/daurnimator
http.request: :to_curl: Don't return --post303https://github.com/daurnimator/lua-http/pull/80/commits/f264b44048e6c5ce95d2fb47d927d63014c1e3f2
f264b44https://github.com/daurnimator/lua-http/pull/80/commits/f264b44048e6c5ce95d2fb47d927d63014c1e3f2
https://github.com/daurnimator
http.request: :to_curl: add support for (maps to --location-trusted)https://github.com/daurnimator/lua-http/pull/80/commits/6b147be9add86665260489085cb4a4109151259f
6b147behttps://github.com/daurnimator/lua-http/pull/80/commits/6b147be9add86665260489085cb4a4109151259f
https://github.com/daurnimator
http/request: :to_curl: if URL contains a curl-globbable character,…https://github.com/daurnimator/lua-http/pull/80/commits/54c0d9d6c55a75e883e852addbc5e65b5cfdc5ca
54c0d9dhttps://github.com/daurnimator/lua-http/pull/80/commits/54c0d9d6c55a75e883e852addbc5e65b5cfdc5ca
https://github.com/daurnimator
http/request: :to_curl: Validate path is okay for curlhttps://github.com/daurnimator/lua-http/pull/80/commits/84bb632956faeda08767b8a8e2f217ec652168d7
84bb632https://github.com/daurnimator/lua-http/pull/80/commits/84bb632956faeda08767b8a8e2f217ec652168d7
https://github.com/daurnimator
http/request: :to_curl: handle .version fieldhttps://github.com/daurnimator/lua-http/pull/80/commits/2926c011d2d228ae2b684eafe7daceb1c3d85117
2926c01https://github.com/daurnimator/lua-http/pull/80/commits/2926c011d2d228ae2b684eafe7daceb1c3d85117
https://github.com/daurnimator
http/request: :to_curl: Add -e ;auto to command lines reflect tha…https://github.com/daurnimator/lua-http/pull/80/commits/c4df6a4801b0025d44c56535592363e67c912fd3
c4df6a4https://github.com/daurnimator/lua-http/pull/80/commits/c4df6a4801b0025d44c56535592363e67c912fd3
https://github.com/daurnimator
http/request: :to_curl: Don't bother setting redirect related optio…https://github.com/daurnimator/lua-http/pull/80/commits/c0da4867fd90cd6812dfe787b3238e4415dc0a66
c0da486https://github.com/daurnimator/lua-http/pull/80/commits/c0da4867fd90cd6812dfe787b3238e4415dc0a66
https://github.com/daurnimator
Merge branch 'master' into http.request.tocurlhttps://github.com/daurnimator/lua-http/pull/80/commits/7166c1c249eb319ee7fd84165bf0744c2edc1fa5
7166c1chttps://github.com/daurnimator/lua-http/pull/80/commits/7166c1c249eb319ee7fd84165bf0744c2edc1fa5
https://github.com/daurnimator
spec/request_spec: Add tests for :to_curl()https://github.com/daurnimator/lua-http/pull/80/commits/d09cd722c95a4db8dea30d02d4517b0738107c63
d09cd72https://github.com/daurnimator/lua-http/pull/80/commits/d09cd722c95a4db8dea30d02d4517b0738107c63
https://github.com/daurnimator
http/request: Fix incorrect assert for validating refererhttps://github.com/daurnimator/lua-http/pull/80/commits/9deed93ee47b715f7af04e2d9468ae8b40d02fba
9deed93https://github.com/daurnimator/lua-http/pull/80/commits/9deed93ee47b715f7af04e2d9468ae8b40d02fba
https://github.com/daurnimator
spec/request_spec: Add more tests for :to_curl()https://github.com/daurnimator/lua-http/pull/80/commits/784494026c372756a05dff2a7cdae4c5ac7f42bc
7844940https://github.com/daurnimator/lua-http/pull/80/commits/784494026c372756a05dff2a7cdae4c5ac7f42bc
https://github.com/daurnimator
http/request: Have :to_curl() pay attention to proxieshttps://github.com/daurnimator/lua-http/pull/80/commits/953c1cc6b9090b42cb28f25e6f5174bbb54a3d69
953c1cchttps://github.com/daurnimator/lua-http/pull/80/commits/953c1cc6b9090b42cb28f25e6f5174bbb54a3d69
https://github.com/daurnimator
daurnimatorhttps://github.com/daurnimator
WIP https://github.com/daurnimator/lua-http/issues?q=state%3Aopen%20label%3AWIP
Aug 18, 2017https://github.com/daurnimator/lua-http/pull/80#event-1211656915
https://github.com/daurnimator
daurnimatorhttps://github.com/daurnimator
Aug 18, 2017https://github.com/daurnimator/lua-http/pull/80#issuecomment-323319223
https://daniel.haxx.se/blog/2017/06/19/options-with-curl/https://daniel.haxx.se/blog/2017/06/19/options-with-curl/
Please reload this pagehttps://github.com/daurnimator/lua-http/pull/80
https://github.com/coveralls
coverallshttps://github.com/coveralls
Aug 18, 2017https://github.com/daurnimator/lua-http/pull/80#issuecomment-323320788
Please reload this pagehttps://github.com/daurnimator/lua-http/pull/80
https://coveralls.io/builds/12892068
953c1cchttps://github.com/daurnimator/lua-http/commit/953c1cc6b9090b42cb28f25e6f5174bbb54a3d69
e79ad71https://github.com/daurnimator/lua-http/commit/e79ad71c14a7b734280e40744bd9a5c2267e1444
Please reload this pagehttps://github.com/daurnimator/lua-http/pull/80
https://github.com/daurnimator
daurnimatorhttps://github.com/daurnimator
Aug 27, 2018 https://github.com/daurnimator/lua-http/pull/80#pullrequestreview-149620854
View reviewed changes https://github.com/daurnimator/lua-http/pull/80/files/953c1cc6b9090b42cb28f25e6f5174bbb54a3d69
http/request.luahttps://github.com/daurnimator/lua-http/pull/80/files/953c1cc6b9090b42cb28f25e6f5174bbb54a3d69#diff-b71af2ee63444b07d2d91b2411edb889d41cc5707f6a5944969878f8636ba0d8
daurnimatorhttps://github.com/daurnimator
Aug 27, 2018https://github.com/daurnimator/lua-http/pull/80#discussion_r212899929
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/daurnimator/lua-http/pull/80
https://github.com/daurnimator
daurnimatorhttps://github.com/daurnimator
Aug 27, 2018 https://github.com/daurnimator/lua-http/pull/80#pullrequestreview-149621641
View reviewed changes https://github.com/daurnimator/lua-http/pull/80/files/953c1cc6b9090b42cb28f25e6f5174bbb54a3d69
http/request.luahttps://github.com/daurnimator/lua-http/pull/80/files/953c1cc6b9090b42cb28f25e6f5174bbb54a3d69#diff-b71af2ee63444b07d2d91b2411edb889d41cc5707f6a5944969878f8636ba0d8
daurnimatorhttps://github.com/daurnimator
Aug 27, 2018https://github.com/daurnimator/lua-http/pull/80#discussion_r212900640
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/daurnimator/lua-http/pull/80
https://github.co/hiddenchars
https://github.com/daurnimator/lua-http/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdaurnimator%2Flua-http%2Fpull%2F80
WIP https://github.com/daurnimator/lua-http/issues?q=state%3Aopen%20label%3AWIP
Please reload this pagehttps://github.com/daurnimator/lua-http/pull/80
https://github.com/daurnimator
https://github.com/coveralls
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.