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:be218d49-222c-9a60-fc37-bba3d5dee8e9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA50:1971A3:BCC8BD:114E3EF:6A4E2585 |
| html-safe-nonce | a3bd6231a8040f04883d1c8732687195f5502c3c33fad2531b86536865c8db0b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTUwOjE5NzFBMzpCQ0M4QkQ6MTE0RTNFRjo2QTRFMjU4NSIsInZpc2l0b3JfaWQiOiI1MzYzMzg1NzIwMjczNTExODEzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 670ea780e2b7f7e428051b3ec2efacc82fa47cc4e20a136f1da1114574ffe15d |
| 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 | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| 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 | d9dd20d38f8ae3c4cb6b597807431db300d0bd2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width