Zach Bloomquist
Zach Bloomquist
@Hoshino2123 can you try removing the app here: https://github.com/settings/applications and re-connecting it on np.chary.us?
@backfromreality Cypress only currently supports injecting into non-compressed or gzip-compressed content. But Brotli could probably be added easily too since IIRC it's part of Node's standard lib.
Cypress strips any non-`gzip` `Accept-Encoding` values: https://github.com/cypress-io/cypress/blob/64a60f4bc1b0d055431400e81c55ba525ebda6ea/packages/proxy/lib/http/request-middleware.ts#L69-L82 So unless there's some bug with this, it is a problem with your upstream server for continuing to serve `br`-encoded content when `Accept-Encoding`...
> Having the same issue, my mock servers work but Cypress gets an empty response in Cypress Are you also requesting a subdomain of localhost like http://foo.localhost?