Title: Unable to POST binary content with the http module · Issue #1147 · NativeScript/NativeScript · GitHub
Open Graph Title: Unable to POST binary content with the http module · Issue #1147 · NativeScript/NativeScript
X Title: Unable to POST binary content with the http module · Issue #1147 · NativeScript/NativeScript
Description: Currently the http module doesn't support making POST requests with binary body: https://github.com/NativeScript/NativeScript/blob/master/http/http-request.android.ts#L83 https://github.com/NativeScript/NativeScript/blob/master/http/http...
Open Graph Description: Currently the http module doesn't support making POST requests with binary body: https://github.com/NativeScript/NativeScript/blob/master/http/http-request.android.ts#L83 https://github.com/NativeS...
X Description: Currently the http module doesn't support making POST requests with binary body: https://github.com/NativeScript/NativeScript/blob/master/http/http-request.android.ts#L83 https://github.com/Nat...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/1147
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to POST binary content with the http module","articleBody":"Currently the `http` module doesn't support making POST requests with binary body:\n- https://github.com/NativeScript/NativeScript/blob/master/http/http-request.android.ts#L83\n- https://github.com/NativeScript/NativeScript/blob/master/http/http-request.ios.ts#L36\n\nAs Analytics plugin developers it would be great for us to be able to reduce the size of the HTTP requests that our SDK makes using `gzip` Content-Encoding. This would be very beneficial for mobile platforms where network bandwidth is limited. Ideally [http.HttpRequestOptions](https://docs.nativescript.org/ApiReference/http/HttpRequestOptions.html) should also be able to accept a byte array and treat it as the raw body when making the request.\n\r\n\r\n\u003cbountysource-plugin\u003e\r\n\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28575156-unable-to-post-binary-content-with-the-http-module?utm_campaign=plugin\u0026utm_content=tracker%2F12908224\u0026utm_medium=issues\u0026utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin\u0026utm_content=tracker%2F12908224\u0026utm_medium=issues\u0026utm_source=github).\r\n\u003c/bountysource-plugin\u003e","author":{"url":"https://github.com/darind","@type":"Person","name":"darind"},"datePublished":"2015-11-24T16:44:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/1147/NativeScript/issues/1147"}
| 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:f6ebffaf-c51d-a527-3ff5-b15589339f2e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9C2C:29EF90:2B31A18:39CFCFF:6A5DA3D4 |
| html-safe-nonce | 7167a56fcb988802cb49dd526420e8ea47813ca9ce93e177ff612777e59109fb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzJDOjI5RUY5MDoyQjMxQTE4OjM5Q0ZDRkY6NkE1REEzRDQiLCJ2aXNpdG9yX2lkIjoiNjk3NDAxMDU2ODA4MjMwMTkwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b367bad06f1a60a8043a30b3ee4462c427717bed221408f6240c1bbc05b0f57c |
| hovercard-subject-tag | issue:118652260 |
| 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/NativeScript/NativeScript/1147/issue_layout |
| twitter:image | https://opengraph.githubassets.com/56a03cc561a118c4fc7743190e1baeab480fa38cb613dcbf70e38173912e4acf/NativeScript/NativeScript/issues/1147 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/56a03cc561a118c4fc7743190e1baeab480fa38cb613dcbf70e38173912e4acf/NativeScript/NativeScript/issues/1147 |
| og:image:alt | Currently the http module doesn't support making POST requests with binary body: https://github.com/NativeScript/NativeScript/blob/master/http/http-request.android.ts#L83 https://github.com/NativeS... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | darind |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 31492490 |
| octolytics-dimension-repository_nwo | NativeScript/NativeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31492490 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/NativeScript |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width