Title: process_template_response must return an HttpResponse. · Issue #46 · microsoft/ApplicationInsights-Python · GitHub
Open Graph Title: process_template_response must return an HttpResponse. · Issue #46 · microsoft/ApplicationInsights-Python
X Title: process_template_response must return an HttpResponse. · Issue #46 · microsoft/ApplicationInsights-Python
Description: function "process_template_response" must return an HttpResponse. The code below returns None. Error Point : https://github.com/Microsoft/ApplicationInsights-Python/blob/master/applicationinsights/django/middleware.py#L215 Ref django cod...
Open Graph Description: function "process_template_response" must return an HttpResponse. The code below returns None. Error Point : https://github.com/Microsoft/ApplicationInsights-Python/blob/master/applicationinsights/...
X Description: function "process_template_response" must return an HttpResponse. The code below returns None. Error Point : https://github.com/Microsoft/ApplicationInsights-Python/blob/master/applicatio...
Opengraph URL: https://github.com/microsoft/ApplicationInsights-Python/issues/46
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"process_template_response must return an HttpResponse.","articleBody":"function \"process_template_response\" must return an HttpResponse. The code below returns None.\r\n\r\nError Point : https://github.com/Microsoft/ApplicationInsights-Python/blob/master/applicationinsights/django/middleware.py#L215\r\n\r\nRef django code : https://github.com/django/django/blob/master/django/core/handlers/base.py#L150\r\n\r\nHere's what you can change:\r\n\r\n```python\r\ndef process_template_response(self, request, response):\r\n if hasattr(request, 'appinsights') and hasattr(response, 'template_name'):\r\n data = request.appinsights.request\r\n data.properties['template_name'] = response.template_name\r\n\r\n return response # FIX POINT\r\n```\r\n\r\nThanks.","author":{"url":"https://github.com/allieus","@type":"Person","name":"allieus"},"datePublished":"2017-08-18T06:43:44Z","url":"https://github.com/microsoft/ApplicationInsights-Python/issues/46"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c3631f6a-75c2-b306-d530-74be44bb14c1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C034:36EAC8:6D3E5C:95BBEE:6B04A73C |
| html-safe-nonce | e32b89726ec869f631a4ad5f8fe70a6a634535fa2bb81466290d92f212dbd4e6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDM0OjM2RUFDODo2RDNFNUM6OTVCQkVFOjZCMDRBNzNDIiwidmlzaXRvcl9pZCI6IjE4MjQ0Mzk3MTk0MjA2NTk4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 30138952c47200ca7a899db5b3a16bede3f28ae3960e52ce6fd7525dec2c733c |
| hovercard-subject-tag | issue:251153838 |
| 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/microsoft/ApplicationInsights-Python/46/issue_layout |
| twitter:image | https://opengraph.githubassets.com/926446c2c021a5cd97cf0ddf15804812e51b68c2f7d28568ae8df8d2967bf2bd/microsoft/ApplicationInsights-Python/issues/46 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/926446c2c021a5cd97cf0ddf15804812e51b68c2f7d28568ae8df8d2967bf2bd/microsoft/ApplicationInsights-Python/issues/46 |
| og:image:alt | function "process_template_response" must return an HttpResponse. The code below returns None. Error Point : https://github.com/Microsoft/ApplicationInsights-Python/blob/master/applicationinsights/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | allieus |
| hostname | github.com |
| expected-hostname | github.com |
| None | 188497a0f45a7aa8f7c866faa1950d1a7f8d82b59416adf549b222ad1d1dd19b |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/ApplicationInsights-Python git https://github.com/microsoft/ApplicationInsights-Python.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 26877260 |
| octolytics-dimension-repository_nwo | microsoft/ApplicationInsights-Python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 26877260 |
| octolytics-dimension-repository_network_root_nwo | microsoft/ApplicationInsights-Python |
| 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 | 557cfbac6cdb532730c95c90f2cefdc0c4128029 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width