Skip to content

Commit 4be5fa2

Browse files
authored
Merge pull request #281 from sshanks-kx/httpgzip
.Q.hg/hp compression details
2 parents ff8bcda + 7bb1a3b commit 4be5fa2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/ref/dotq.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1030,6 +1030,8 @@ environment variable | use
10301030

10311031
N.B. HTTPS is not supported across proxies which require `CONNECT`.
10321032

1033+
Since 4.0 2019.10.22, gzip compression is supported. Requests include the HTTP header "Accept-Encoding: gzip".
1034+
The server then decides whether to gzip the returned payload, which is uncompressed prior to .Q.hg returning.
10331035

10341036
<!--
10351037
## `hmb` (FIXME)
@@ -1084,7 +1086,7 @@ Where
10841086
Returns a string for the result of an HTTP[S] POST query.
10851087
(Since V3.4)
10861088

1087-
Uses proxy settings if defined, as described in [hg (HTTP get)](#hp-http-get).
1089+
Uses proxy settings (if defined) and compression handling, as described in [hg (HTTP get)](#hp-http-get).
10881090

10891091
```q
10901092
q).Q.hp["http://google.com";.h.ty`json]"my question"

0 commit comments

Comments
 (0)