Title: wsgi.simple_server resets 'Content-Length' header on empty content even if app defined it. · Issue #48089 · python/cpython · GitHub
Open Graph Title: wsgi.simple_server resets 'Content-Length' header on empty content even if app defined it. · Issue #48089 · python/cpython
X Title: wsgi.simple_server resets 'Content-Length' header on empty content even if app defined it. · Issue #48089 · python/cpython
Description: BPO 3839 Nosy @pjeby, @pitrou Files wsgiref.handlers.py.patch: simple patch to wsgiref/handlers.py to fix it. Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state. Show mor...
Open Graph Description: BPO 3839 Nosy @pjeby, @pitrou Files wsgiref.handlers.py.patch: simple patch to wsgiref/handlers.py to fix it. Note: these values reflect the state of the issue at the time it was migrated and might...
X Description: BPO 3839 Nosy @pjeby, @pitrou Files wsgiref.handlers.py.patch: simple patch to wsgiref/handlers.py to fix it. Note: these values reflect the state of the issue at the time it was migrated and might...
Opengraph URL: https://github.com/python/cpython/issues/48089
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"wsgi.simple_server resets 'Content-Length' header on empty content even if app defined it.","articleBody":"BPO | [3839](https://bugs.python.org/issue3839)\n--- | :---\nNosy | @pjeby, @pitrou\nFiles | \u003cli\u003e[wsgiref.handlers.py.patch](https://bugs.python.org/file11466/wsgiref.handlers.py.patch \"Uploaded as text/plain at 2008-09-11.18:07:50 by nosklo\"): simple patch to wsgiref/handlers.py to fix it.\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = \u003cDate 2011-01-06.17:19:41.935\u003e\ncreated_at = \u003cDate 2008-09-11.18:07:51.140\u003e\nlabels = ['type-bug', 'library']\ntitle = \"wsgi.simple_server resets 'Content-Length' header on empty content even if app defined it.\"\nupdated_at = \u003cDate 2017-05-09.15:25:31.369\u003e\nuser = 'https://bugs.python.org/nosklo'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2017-05-09.15:25:31.369\u003e\nactor = 'kxroberto'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2011-01-06.17:19:41.935\u003e\ncloser = 'pitrou'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2008-09-11.18:07:51.140\u003e\ncreator = 'nosklo'\ndependencies = []\nfiles = ['11466']\nhgrepos = []\nissue_num = 3839\nkeywords = ['patch']\nmessage_count = 4.0\nmessages = ['73045', '109562', '125569', '293323']\nnosy_count = 4.0\nnosy_names = ['pje', 'kxroberto', 'pitrou', 'nosklo']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue3839'\nversions = ['Python 3.1', 'Python 2.7', 'Python 3.2']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/nosklo","@type":"Person","name":"nosklo"},"datePublished":"2008-09-11T18:07:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/48089/cpython/issues/48089"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f13834bb-97ca-3a64-5ad3-ef84b368f50c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CCA2:A2C7B:19ACAD8:248AF67:6A50C86B |
| html-safe-nonce | d42a45a8ddcba8acf0fb07aad8928127fb9b0727c01913f5bb9241366a53a056 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0EyOkEyQzdCOjE5QUNBRDg6MjQ4QUY2Nzo2QTUwQzg2QiIsInZpc2l0b3JfaWQiOiI3OTQwOTAwNjkyNDUzMDE3NzA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a40ef91b9732d71ab271fd1aa6ef25b6ddd9362cb0fc9d85d59a89ad7ba5fc08 |
| hovercard-subject-tag | issue:1198835431 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/48089/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5fb74eb21b0e3c0187a5f3a8c47d41131dee4756c3f27b68c751f029ef720f9b/python/cpython/issues/48089 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5fb74eb21b0e3c0187a5f3a8c47d41131dee4756c3f27b68c751f029ef720f9b/python/cpython/issues/48089 |
| og:image:alt | BPO 3839 Nosy @pjeby, @pitrou Files wsgiref.handlers.py.patch: simple patch to wsgiref/handlers.py to fix it. Note: these values reflect the state of the issue at the time it was migrated and might... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nosklo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 08e79d53fc070870d5b168356afebb1e286a2ffe |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width