graphql-engine/server/src-lib/Hasura
Brandon Simmons 6451d9c9ce server: refactor Hasura.Server.Compression for clarity/correctness
context: This is  foundation work, before we change how the server chooses to compress or not
part of effort: #5518

-----

Prior to this change it was difficult to understand how the functionality in this module related to the semantics of Accept-Encoding. We also didn't correctly handle directives with qvalues.

After this change certain technical infelicities are called out without modifying the behavior of the server; for instance we continue to fall back to identity (no compression) in the case where technically we're supposed to return 406, and we also  continue to treat `*` conservatively as meaning “use no compression”.

The only external change here is `gzip;q=x.y` now results in a zipped response.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7213
GitOrigin-RevId: 1910ffd70d29f1ab8825c601f1bd998be70ceeeb
2022-12-09 06:08:27 +00:00
..
Backends server: Fix permissions when running an update_table_many query. 2022-12-08 08:04:08 +00:00
Base Fix metadata defaults bug - Defaults serialised into metadata table - GDC-647 2022-12-06 22:35:19 +00:00
Cache server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Eventing server: add event_processing_time metric 2022-12-06 15:11:04 +00:00
GraphQL server: fix streaming subscription input type names 2022-11-30 06:48:58 +00:00
Incremental Further schema cache cleanups 2022-11-29 01:02:09 +00:00
Metadata pro-server: add support for exporting traces over OTLP 2022-11-07 06:56:08 +00:00
RemoteSchema Collect Metadata dependencies in a Sequence rather than a list 2022-11-30 18:13:31 +00:00
RQL server: fix error in metadata APIs with inconsistency 2022-12-08 16:04:55 +00:00
Server server: refactor Hasura.Server.Compression for clarity/correctness 2022-12-09 06:08:27 +00:00
SQL server: delete the Cacheable type class in favor of Eq 2022-11-21 16:35:37 +00:00
Tracing server: support 128-bit trace ids 2022-09-20 02:50:06 +00:00
App.hs server: add server_type information to version API 2022-12-07 11:30:20 +00:00
EncJSON.hs server: tune builder runners, for ByteStrings we're about to send 2022-12-07 06:01:08 +00:00
GC.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
HTTP.hs Add Data Connector agent request logging, improve error messages, and add tracing support [GDW-83] 2022-07-11 08:05:40 +00:00
Incremental.hs Further schema cache cleanups 2022-11-29 01:02:09 +00:00
Logging.hs server: add jwk-refresh-log type to default enabled logs 2022-11-08 16:48:44 +00:00
Name.hs server/postgres: fix the schema types conflict between aggregation predicates and table selection aggregates 2022-10-21 13:28:43 +00:00
PingSources.hs [server] regularly ping selected sources 2022-11-23 16:41:46 +00:00
QueryTags.hs server: support query tags for MSSQL data sources 2022-04-28 19:34:45 +00:00
Session.hs server: delete the Cacheable type class in favor of Eq 2022-11-21 16:35:37 +00:00
ShutdownLatch.hs multitenant: make shutdown logic more abstract 2022-11-23 07:53:19 +00:00
Tracing.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00