René's URL Explorer Experiment


Title: Python 3.x and empty file (b'') using FieldStorageUploadConverter · Issue #101 · formencode/formencode · GitHub

Open Graph Title: Python 3.x and empty file (b'') using FieldStorageUploadConverter · Issue #101 · formencode/formencode

X Title: Python 3.x and empty file (b'') using FieldStorageUploadConverter · Issue #101 · formencode/formencode

Description: Using Pyramid and Python 3.4. When I leave an input type="file" name="file" empty, the request.POST has {'file': b' '}. b' ' is iterable, so formencode raises singleValueExpected=_('Please provide only one value') Python 3.4.3 (default, ...

Open Graph Description: Using Pyramid and Python 3.4. When I leave an input type="file" name="file" empty, the request.POST has {'file': b' '}. b' ' is iterable, so formencode raises singleValueExpected=_('Please provide ...

X Description: Using Pyramid and Python 3.4. When I leave an input type="file" name="file" empty, the request.POST has {'file': b' '}. b' ' is iterable, so formencode r...

Opengraph URL: https://github.com/formencode/formencode/issues/101

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Python 3.x and empty file (b'') using FieldStorageUploadConverter","articleBody":"Using Pyramid and Python 3.4.\nWhen I leave an input type=\"file\" name=\"file\" empty, the request.POST has {'file': b' '}.\nb' ' is iterable, so formencode raises singleValueExpected=_('Please provide only one value')\n\n```\nPython 3.4.3 (default, Jul 28 2015, 18:20:59) \n[GCC 4.8.4] on linux\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n>>> from formencode import Schema, validators\n>>> class FileSchema(Schema):\n...     file = validators.FieldStorageUploadConverter()\n... \n>>> FileSchema().to_python({\"file\": b''})\nTraceback (most recent call last):\n  File \"\u003cstdin>\", line 1, in \u003cmodule>\n  File \"/home/aj/.virtualenvs/marketplace/lib/python3.4/site-packages/formencode/api.py\", line 476, in to_python\n    value = tp(value, state)\n  File \"/home/aj/.virtualenvs/marketplace/lib/python3.4/site-packages/formencode/schema.py\", line 217, in _convert_to_python\n    value_dict, state, error_dict=errors)\nformencode.api.Invalid: file: Please provide only one value\n>>>\n```\n","author":{"url":"https://github.com/antoniojesvs","@type":"Person","name":"antoniojesvs"},"datePublished":"2015-12-03T18:44:03Z","url":"https://github.com/formencode/formencode/issues/101"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3cd81338-e265-3e05-8d56-c58d4babdfa1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9EFC:1E3B91:130443:19FE4E:6B0464D8
html-safe-nonceed2538ea03d20ede2d385a51a803fb6997cb24e68a1a036366efee5dc32fe376
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUZDOjFFM0I5MToxMzA0NDM6MTlGRTRFOjZCMDQ2NEQ4IiwidmlzaXRvcl9pZCI6IjQ0MDAxMDk1NDQ2MDU1MDg4MjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5bd68fce47b81350cc529d436809088de5761951d1a35ee416586cabb344ec9c
hovercard-subject-tagissue:120240874
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/formencode/formencode/101/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e356ccaa938c47640b2e2580aa8893a7e4c138135201e487d485f2e030da5c42/formencode/formencode/issues/101
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e356ccaa938c47640b2e2580aa8893a7e4c138135201e487d485f2e030da5c42/formencode/formencode/issues/101
og:image:altUsing Pyramid and Python 3.4. When I leave an input type="file" name="file" empty, the request.POST has {'file': b' '}. b' ' is iterable, so formencode raises singleValueExpected=_('Please provide ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameantoniojesvs
hostnamegithub.com
expected-hostnamegithub.com
None2d58451b4bcb73c33c67bfb6b28fb75fe6d5e279daf9b560fa4fd832f3d8c9a6
turbo-cache-controlno-preview
go-importgithub.com/formencode/formencode git https://github.com/formencode/formencode.git
octolytics-dimension-user_id1541742
octolytics-dimension-user_loginformencode
octolytics-dimension-repository_id3733133
octolytics-dimension-repository_nwoformencode/formencode
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3733133
octolytics-dimension-repository_network_root_nwoformencode/formencode
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
release03e114520787ad27289207f153520ef97461127c
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/formencode/formencode/issues/101#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fformencode%2Fformencode%2Fissues%2F101
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fformencode%2Fformencode%2Fissues%2F101
Sign uphttps://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=formencode%2Fformencode
Reloadhttps://github.com/formencode/formencode/issues/101
Reloadhttps://github.com/formencode/formencode/issues/101
Reloadhttps://github.com/formencode/formencode/issues/101
formencodehttps://github.com/formencode
formencodehttps://github.com/formencode/formencode
Codehttps://github.com/formencode/formencode
Issues38 (38)https://github.com/formencode/formencode/issues
Pull requests4 (4)https://github.com/formencode/formencode/pulls
Actionshttps://github.com/formencode/formencode/actions
Projectshttps://github.com/formencode/formencode/projects
Security and qualityhttps://github.com/formencode/formencode/security
Insightshttps://github.com/formencode/formencode/insights
https://github.com/formencode/formencode
New issuehttps://github.com/login?return_to=https://github.com/formencode/formencode/issues/101
New issuehttps://github.com/login?return_to=https://github.com/formencode/formencode/issues/101
Python 3.x and empty file (b'') using FieldStorageUploadConverterhttps://github.com/formencode/formencode/issues/101#top
https://github.com/antoniojesvs
antoniojesvshttps://github.com/antoniojesvs
on Dec 3, 2015https://github.com/formencode/formencode/issues/101#issue-120240874
https://github.com/lambacck
lambacckhttps://github.com/lambacck
on Dec 5, 2015https://github.com/formencode/formencode/issues/101#issuecomment-162233557
valoshttps://github.com/valos
on Dec 17, 2018https://github.com/formencode/formencode/issues/101#event-2029773210
Fix issue formencode#101https://github.com/valos/formencode/commit/987d29922b2a37eb969fb40658a1057bacbe1129
formencode#101https://github.com/formencode/formencode/issues/101
987d299https://github.com/valos/formencode/commit/987d29922b2a37eb969fb40658a1057bacbe1129
https://github.com/jvanasco
jvanascohttps://github.com/jvanasco
on May 1, 2020https://github.com/formencode/formencode/issues/101#issuecomment-622248410
@valoshttps://github.com/valos
jvanascohttps://github.com/jvanasco
on Sep 25, 2020https://github.com/formencode/formencode/issues/101#event-3808926930
Merge pull request #1 from valos/masterhttps://github.com/jvanasco/formencode/commit/8401bc9440ce743063c1e66cfc7811bf129042b0
#1https://github.com/jvanasco/formencode/pull/1
8401bc9https://github.com/jvanasco/formencode/commit/8401bc9440ce743063c1e66cfc7811bf129042b0
lambacckhttps://github.com/lambacck
on Oct 2, 2020https://github.com/formencode/formencode/issues/101#event-3835162810
Merge pull request #144 from valos/masterhttps://github.com/formencode/formencode/commit/165c0e0ca761b27ddf9acf5842d148521e45909c
#144https://github.com/formencode/formencode/pull/144
165c0e0https://github.com/formencode/formencode/commit/165c0e0ca761b27ddf9acf5842d148521e45909c
Sign up for freehttps://github.com/signup?return_to=https://github.com/formencode/formencode/issues/101
Sign in to commenthttps://github.com/login?return_to=https://github.com/formencode/formencode/issues/101
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.