influxdata/influxdb-php

Support for posting gzipped data

wiebeytec opened this issue · 0 comments

On the forums I read that posting with gzip to influx is possible, but this library doesn't mention anything about it. Also, when I do it manually with PHP curl, the response is HTTP code: 400. {"error":"gzip: invalid header"}.

I post gzdeflate-ed data with:

Authorization: Basic removed=
Host: removed.influxcloud.net:8086
Accept: */*
Content-Type: text/plain
Content-Encoding: gzip
Content-Length: 660

Does influxdb support it? If so, how, and can it be added to influxdb-php?