René's URL Explorer Experiment


Title: Using 'raw' without using 'save' gives no output · Issue #8 · WhyNotHugo/python-barcode · GitHub

Open Graph Title: Using 'raw' without using 'save' gives no output · Issue #8 · WhyNotHugo/python-barcode

X Title: Using 'raw' without using 'save' gives no output · Issue #8 · WhyNotHugo/python-barcode

Description: I think the title explains it all. If I try to use .raw to server an SVG barcode without using .save first, I get an empty output... Example: Trying to serve this in my django project: class APIBarcode(View): def get(self, request, *args...

Open Graph Description: I think the title explains it all. If I try to use .raw to server an SVG barcode without using .save first, I get an empty output... Example: Trying to serve this in my django project: class APIBar...

X Description: I think the title explains it all. If I try to use .raw to server an SVG barcode without using .save first, I get an empty output... Example: Trying to serve this in my django project: class APIBar...

Opengraph URL: https://github.com/WhyNotHugo/python-barcode/issues/8

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Using 'raw' without using 'save' gives no output","articleBody":"I think the title explains it all.\r\n\r\nIf I try to use .raw to server an SVG barcode without using .save first, I get an empty output...\r\n\r\nExample:\r\nTrying to serve this in my django project:\r\n\r\n```\r\nclass APIBarcode(View):\r\n\r\n    def get(self, request, *args, **kwargs):\r\n        uuid = request.GET.get('uuid')\r\n        C39 = barcode.get_barcode_class('code39')\r\n        toserve = C39(uuid)\r\n        toserve.save('c39code')\r\n        return HttpResponse(toserve.raw, content_type=\"image/svg+xml\")\r\n```\r\n\r\nGives the following output:\r\n![image](https://user-images.githubusercontent.com/11825589/40337929-a858c8a6-5d2f-11e8-891b-fa7ecdcf632c.png)\r\n\r\nBut serving this:\r\n```\r\nclass APIBarcode(View):\r\n\r\n    def get(self, request, *args, **kwargs):\r\n        uuid = request.GET.get('uuid')\r\n        C39 = barcode.get_barcode_class('code39')\r\n        toserve = C39(uuid)\r\n        # toserve.save('c39code')\r\n        return HttpResponse(toserve.raw, content_type=\"image/svg+xml\")\r\n```\r\nGives the following output:\r\n\r\n![image](https://user-images.githubusercontent.com/11825589/40337973-e869d9e4-5d2f-11e8-9045-3b01c3cee5d2.png)\r\n\r\n\r\nIf someone can point me to where I should be looking I would gladly attempt to fix it!","author":{"url":"https://github.com/sharifanani","@type":"Person","name":"sharifanani"},"datePublished":"2018-05-22T01:48:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/8/python-barcode/issues/8"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:97a46510-1de4-0aab-87a4-0c49137b649c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCFB0:8806E:6AADD4:94AED1:6A62420D
html-safe-nonce08720e808a9a9fde5a53be4c0dcd994a32e4afd0d9b2f7bb26a438f6c48a1007
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkIwOjg4MDZFOjZBQURENDo5NEFFRDE6NkE2MjQyMEQiLCJ2aXNpdG9yX2lkIjoiNTI3NjM5NDAwNTI1NzY2NzA4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2a15c8536c96ebe4e6b41e82510b19fb6da3f9b9a7181f8e6d190ef62252a0d9
hovercard-subject-tagissue:325113282
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/WhyNotHugo/python-barcode/8/issue_layout
twitter:imagehttps://opengraph.githubassets.com/879bd92f7d179f0b7122051187712a89fa5cb3190fa0d8610f4d75a15d17748f/WhyNotHugo/python-barcode/issues/8
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/879bd92f7d179f0b7122051187712a89fa5cb3190fa0d8610f4d75a15d17748f/WhyNotHugo/python-barcode/issues/8
og:image:altI think the title explains it all. If I try to use .raw to server an SVG barcode without using .save first, I get an empty output... Example: Trying to serve this in my django project: class APIBar...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesharifanani
hostnamegithub.com
expected-hostnamegithub.com
None5d6ba65d73ecc4e3394fe318d2b2f98e6f8eed4878b5421b938e20d30bde267b
turbo-cache-controlno-preview
go-importgithub.com/WhyNotHugo/python-barcode git https://github.com/WhyNotHugo/python-barcode.git
octolytics-dimension-user_id730811
octolytics-dimension-user_loginWhyNotHugo
octolytics-dimension-repository_id106754007
octolytics-dimension-repository_nwoWhyNotHugo/python-barcode
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id106754007
octolytics-dimension-repository_network_root_nwoWhyNotHugo/python-barcode
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
release2dadc56fd5989b76a8ae7304e3aa56d0b485e5dc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/WhyNotHugo/python-barcode/issues/8#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FWhyNotHugo%2Fpython-barcode%2Fissues%2F8
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%2FWhyNotHugo%2Fpython-barcode%2Fissues%2F8
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=WhyNotHugo%2Fpython-barcode
Reloadhttps://github.com/WhyNotHugo/python-barcode/issues/8
Reloadhttps://github.com/WhyNotHugo/python-barcode/issues/8
Reloadhttps://github.com/WhyNotHugo/python-barcode/issues/8
WhyNotHugo https://github.com/WhyNotHugo
python-barcodehttps://github.com/WhyNotHugo/python-barcode
Please reload this pagehttps://github.com/WhyNotHugo/python-barcode/issues/8
Notifications https://github.com/login?return_to=%2FWhyNotHugo%2Fpython-barcode
Fork 137 https://github.com/login?return_to=%2FWhyNotHugo%2Fpython-barcode
Star 655 https://github.com/login?return_to=%2FWhyNotHugo%2Fpython-barcode
Code https://github.com/WhyNotHugo/python-barcode
Issues 49 https://github.com/WhyNotHugo/python-barcode/issues
Pull requests 16 https://github.com/WhyNotHugo/python-barcode/pulls
Actions https://github.com/WhyNotHugo/python-barcode/actions
Security and quality 0 https://github.com/WhyNotHugo/python-barcode/security
Insights https://github.com/WhyNotHugo/python-barcode/pulse
Code https://github.com/WhyNotHugo/python-barcode
Issues https://github.com/WhyNotHugo/python-barcode/issues
Pull requests https://github.com/WhyNotHugo/python-barcode/pulls
Actions https://github.com/WhyNotHugo/python-barcode/actions
Security and quality https://github.com/WhyNotHugo/python-barcode/security
Insights https://github.com/WhyNotHugo/python-barcode/pulse
Using 'raw' without using 'save' gives no outputhttps://github.com/WhyNotHugo/python-barcode/issues/8#top
https://github.com/sharifanani
sharifananihttps://github.com/sharifanani
on May 22, 2018https://github.com/WhyNotHugo/python-barcode/issues/8#issue-325113282
https://user-images.githubusercontent.com/11825589/40337929-a858c8a6-5d2f-11e8-891b-fa7ecdcf632c.png
https://user-images.githubusercontent.com/11825589/40337973-e869d9e4-5d2f-11e8-9045-3b01c3cee5d2.png
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.