Title: Response body is not captured in apache async client if the body is not read in callback · Issue #248 · hypertrace/javaagent · GitHub
Open Graph Title: Response body is not captured in apache async client if the body is not read in callback · Issue #248 · hypertrace/javaagent
X Title: Response body is not captured in apache async client if the body is not read in callback · Issue #248 · hypertrace/javaagent
Description: Future
Open Graph Description: Future
X Description: Future<HttpResponse> responseFuture = client.execute(request, null); HttpResponse response = responseFuture.get(); if (response.getEntity() == null || response.getEntity().getContentLength() ...
Opengraph URL: https://github.com/hypertrace/javaagent/issues/248
X: @github
Domain: Github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Response body is not captured in apache async client if the body is not read in callback","articleBody":"```\r\n Future\u003cHttpResponse\u003e responseFuture = client.execute(request, null);\r\n HttpResponse response = responseFuture.get();\r\n if (response.getEntity() == null || response.getEntity().getContentLength() \u003c= 0) {\r\n return Pair.of(response.getStatusLine().getStatusCode(), null);\r\n }\r\n String responseBody = readInputStream(response.getEntity().getContent());\r\n```","author":{"url":"https://github.com/pavolloffay","@type":"Person","name":"pavolloffay"},"datePublished":"2021-02-02T10:40:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/248/javaagent/issues/248"}
| 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:f062b72a-a342-ffc7-04b8-5671685fd025 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CCBE:3C8012:456F50:66065A:6A632262 |
| html-safe-nonce | 8ec2780b37478d8b4c606573a25f00bbae0393134ddf51a6b7669f8445e039d5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0JFOjNDODAxMjo0NTZGNTA6NjYwNjVBOjZBNjMyMjYyIiwidmlzaXRvcl9pZCI6IjQyMjEwMTkwOTc3OTc5NjAyOTAiLCJyZWdpb25fZWRnZSI6Indlc3R1czIiLCJyZWdpb25fcmVuZGVyIjoid2VzdHVzMiJ9 |
| visitor-hmac | ca5575ee543fb0933eea66ddb0e4caa973ff9f33bb7ed7e954fe0a93b4a61334 |
| hovercard-subject-tag | issue:799158206 |
| 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/hypertrace/javaagent/248/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c144060f9447d6ebe52aa304325562027f0ec300e5af9ce6d4f042f5f56a985c/hypertrace/javaagent/issues/248 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c144060f9447d6ebe52aa304325562027f0ec300e5af9ce6d4f042f5f56a985c/hypertrace/javaagent/issues/248 |
| og:image:alt | Future |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pavolloffay |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1a6c056e02f174fffc096c521ec0ff6fb83e40a2ec8cb8875466ec1524872dd6 |
| turbo-cache-control | no-preview |
| go-import | github.com/hypertrace/javaagent git https://github.com/hypertrace/javaagent.git |
| octolytics-dimension-user_id | 65374698 |
| octolytics-dimension-user_login | hypertrace |
| octolytics-dimension-repository_id | 302314733 |
| octolytics-dimension-repository_nwo | hypertrace/javaagent |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 302314733 |
| octolytics-dimension-repository_network_root_nwo | hypertrace/javaagent |
| 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 | 6a93e25585f487ddff9e3996c06d5b869d6e1828 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width