Compress the request body if it's too large to send to luci-config
Sometimes, users may send very large config files to luci-config service to validate (e.g chromeos). The GFE has 32 MiB limit. Therefore, compress the json body and set a custom `application/json-zlib` content type header that luci-config service is able to recognize. Bug: 1417047 Change-Id: I61ee50125bab5746f8094d81cab484d70002ac53 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4296563 Commit-Queue: Yuanjun Huang <yuanjunh@google.com> Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com> Reviewed-by: Yiwei Zhang <yiwzhang@google.com>changes/63/4296563/6
parent
424814829a
commit
257ad53176
Loading…
Reference in New Issue