René's URL Explorer Experiment


Title: Function to parse short_message from deliver_sm by Lynesth · Pull Request #90 · python-smpplib/python-smpplib · GitHub

Open Graph Title: Function to parse short_message from deliver_sm by Lynesth · Pull Request #90 · python-smpplib/python-smpplib

X Title: Function to parse short_message from deliver_sm by Lynesth · Pull Request #90 · python-smpplib/python-smpplib

Description: Not sure if needed ot if correctly implemented but I've added a function to parse the short_message property of pdus from deliver_sm commands since not all vendors fill in optional parameters like receipted_message_id. Example: # Inside the message_received_handler pdu.parse_deliver_receipt() This returns a dict like this one: { 'dlvrd': b'000', 'done_date': b'1907311208', 'err': b'001', 'id': b'6C7C7DE28BB3E961947700000000FE37', 'stat': b'UNDELIV', 'sub': b'001', 'submit_date': b'1907311208', 'text': b'This is a test.' } Since it depends on a regex and all vendor surely don't implement the receipt the same way (according to the specs: The format for this Delivery Receipt message is SMSC vendor specific but following is a typical example of Delivery Receipt report.) I've added a way to set the regex manually: smpp.pdu.set_delivey_receipt_regex(br'myawesomeregex') Note that the regex must be bytes.

Open Graph Description: Not sure if needed ot if correctly implemented but I've added a function to parse the short_message property of pdus from deliver_sm commands since not all vendors fill in optional parameters l...

X Description: Not sure if needed ot if correctly implemented but I've added a function to parse the short_message property of pdus from deliver_sm commands since not all vendors fill in optional paramete...

Opengraph URL: https://github.com/python-smpplib/python-smpplib/pull/90

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:621ab39d-dd5f-20ea-2dae-efac1ec893de
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE306:6E82B:1C685F8:2799B73:696FE61C
html-safe-nonce9f8b31ca672847b00d8d318bb7d699621f470f70606dc161f38331dfe8c82a7d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzA2OjZFODJCOjFDNjg1Rjg6Mjc5OUI3Mzo2OTZGRTYxQyIsInZpc2l0b3JfaWQiOiIzMjk3NTQ0MTI2MzM2MDY3MTAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9137f909138a41213c85efa3501b47a99e974f1485043540ad83023aed7bc6fe
hovercard-subject-tagpull_request:302926372
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/python-smpplib/python-smpplib/pull/90/files
twitter:imagehttps://avatars.githubusercontent.com/u/5318258?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5318258?s=400&v=4
og:image:altNot sure if needed ot if correctly implemented but I've added a function to parse the short_message property of pdus from deliver_sm commands since not all vendors fill in optional parameters l...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonebb7c872aa74896d911608183f4997f8b9c121a1624064705ec4570cd91bd7839
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python-smpplib/python-smpplib git https://github.com/python-smpplib/python-smpplib.git
octolytics-dimension-user_id45378833
octolytics-dimension-user_loginpython-smpplib
octolytics-dimension-repository_id9441405
octolytics-dimension-repository_nwopython-smpplib/python-smpplib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id9441405
octolytics-dimension-repository_network_root_nwopython-smpplib/python-smpplib
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
release257e1b418957178bd3ac9f7520608a40ebbb0f1e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-smpplib%2Fpython-smpplib%2Fpull%2F90%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%2Fpython-smpplib%2Fpython-smpplib%2Fpull%2F90%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=python-smpplib%2Fpython-smpplib
Reloadhttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files
Reloadhttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files
Reloadhttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files
python-smpplib https://patch-diff.githubusercontent.com/python-smpplib
python-smpplibhttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib
Please reload this pagehttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-smpplib%2Fpython-smpplib
Fork 143 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-smpplib%2Fpython-smpplib
Star 187 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-smpplib%2Fpython-smpplib
Code https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib
Issues 20 https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/issues
Pull requests 15 https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pulls
Discussions https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions
Actions https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/actions
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/security
Please reload this pagehttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files
Insights https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pulse
Code https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib
Issues https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/issues
Pull requests https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pulls
Discussions https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions
Actions https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/actions
Security https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/security
Insights https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fpython-smpplib%2Fpython-smpplib%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fpython-smpplib%2Fpython-smpplib%2Fissues%2Fnew%2Fchoose
Lynesthhttps://patch-diff.githubusercontent.com/Lynesth
python-smpplib:masterhttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/tree/master
Lynesth:patch-4https://patch-diff.githubusercontent.com/Lynesth/python-smpplib/tree/patch-4
Conversation 12 https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90
Commits 2 https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/commits
Checks 0 https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/checks
Files changed https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files
Please reload this pagehttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files
Function to parse short_message from deliver_sm https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files#top
Show all changes 2 commits https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files
1769d40 Function to parse short_message from deliver_sm Lynesth Jul 31, 2019 https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/commits/1769d40d113b34a5560abfbe8e998c273d7710dc
b961c52 Fix for Python 2.7 Lynesth Jul 31, 2019 https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/commits/b961c52fa91e7579cfb44badff3b7fa1ca6cddb7
Clear filters https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files
Please reload this pagehttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files
Please reload this pagehttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files
https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/blob/master/CODEOWNERS#L1
smpplib/pdu.pyhttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files#diff-7c4dc87b647f93fc0a292f62d9bbfe37b04376195b73d7b30eaa8a441a6565ae
View file https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/blob/b961c52fa91e7579cfb44badff3b7fa1ca6cddb7/smpplib/pdu.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files#diff-7c4dc87b647f93fc0a292f62d9bbfe37b04376195b73d7b30eaa8a441a6565ae
https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files#diff-7c4dc87b647f93fc0a292f62d9bbfe37b04376195b73d7b30eaa8a441a6565ae
code-of-kpphttps://patch-diff.githubusercontent.com/code-of-kpp
Aug 6, 2019https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files#r311082954
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files
https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files#diff-7c4dc87b647f93fc0a292f62d9bbfe37b04376195b73d7b30eaa8a441a6565ae
https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files#diff-7c4dc87b647f93fc0a292f62d9bbfe37b04376195b73d7b30eaa8a441a6565ae
code-of-kpphttps://patch-diff.githubusercontent.com/code-of-kpp
Aug 6, 2019https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files#r311084508
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files
code-of-kpphttps://patch-diff.githubusercontent.com/code-of-kpp
Aug 6, 2019https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files#r311086085
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files
code-of-kpphttps://patch-diff.githubusercontent.com/code-of-kpp
Aug 6, 2019https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files#r311087062
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files
https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pull/90/files#diff-7c4dc87b647f93fc0a292f62d9bbfe37b04376195b73d7b30eaa8a441a6565ae
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.