graphql-engine/server/src-test/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 Add mutability properties to the Data Connector schema API [GDC-664] 2022-12-08 02:07:01 +00:00
Base/Error server: Remove QErr and Code dependencies from the schema parsers. 2022-07-27 12:26:44 +00:00
Generator Fix flaky round-trip unit tests 2022-11-17 00:57:19 +00:00
GraphQL server: reduce schema contexts to the bare minimum 2022-11-17 10:35:54 +00:00
Metadata/DTO pro-server: add support for exporting traces over OTLP 2022-11-07 06:56:08 +00:00
QuickCheck ghc 9.2.5 2022-11-15 11:26:42 +00:00
RQL server: use kriti template to generate query param from list 2022-11-29 20:27:41 +00:00
Server server: refactor Hasura.Server.Compression for clarity/correctness 2022-12-09 06:08:27 +00:00
SQL server: Remove the Show instance from QErr and anything that touches it. 2022-07-01 11:48:26 +00:00
Tracing server: support 128-bit trace ids 2022-09-20 02:50:06 +00:00
AppSpec.hs multitenant: make shutdown logic more abstract 2022-11-23 07:53:19 +00:00
EncJSONSpec.hs [server] Fix CockroachDB live queries 2022-11-02 11:41:02 +00:00
EventingSpec.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
IncrementalSpec.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
SessionSpec.hs server: Splits QuickCheck extension and orphan instance modules 2022-02-22 15:33:37 +00:00