influxdb-client-ruby icon indicating copy to clipboard operation
influxdb-client-ruby copied to clipboard

Use gzip compression

Open amanfrinati opened this issue 10 months ago • 3 comments

Proposal: As suggest into the best practices session, I propose to add the gzip compression on the HTTP client

Current behavior: Now the HTTP request are not using the "Content-Encoding: gzip" and the deflated body in the request

Desired behavior: Add an optional "compression" params and implement the compressed body (I guess only for the POST request)

Alternatives considered: ...

Use case: See the best practice here

amanfrinati avatar Apr 02 '25 22:04 amanfrinati

Hi @amanfrinati,

thanks for report this.

Is this something you would be willing to help with? All PR is welcome and we will be happy to review your submission.

Best Regards

bednar avatar Apr 03 '25 03:04 bednar

Yes! I will submit a PR in next days!

amanfrinati avatar Apr 03 '25 08:04 amanfrinati

Thanks a lot!

On 3. 4. 2025, at 10:18, Alberto Manfrinati @.***> wrote:

amanfrinati left a comment (influxdata/influxdb-client-ruby#146) Yes! I will submit a PR in next days!

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

https://github.com/influxdata/influxdb-client-ruby/issues/146#issuecomment-2774854241 https://github.com/notifications/unsubscribe-auth/AADPDYMMEDXR52APMFGT5YL2XTVGVAVCNFSM6AAAAAB2KWZMS6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONZUHA2TIMRUGE

amanfrinati left a comment (influxdata/influxdb-client-ruby#146) https://github.com/influxdata/influxdb-client-ruby/issues/146#issuecomment-2774854241 Yes! I will submit a PR in next days!

— Reply to this email directly, view it on GitHub https://github.com/influxdata/influxdb-client-ruby/issues/146#issuecomment-2774854241, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADPDYMMEDXR52APMFGT5YL2XTVGVAVCNFSM6AAAAAB2KWZMS6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONZUHA2TIMRUGE. You are receiving this because you commented.

bednar avatar Apr 03 '25 08:04 bednar