Closed thebino closed 8 years ago
This error is thrown when no header with that name is defined in the HTTP response. In this case it means your test is failing.
Remember that to get compressed responses, you must explicitly set the 'Accept-Encoding: deflate, gzip' header on your request to indicate the client can accept compressed content. You can also verify this behavior by running the corresponding curl call, with --verbose and --compresssed.
Thanks, gzip encoding has to be enabled first
- test:
- curl_option_encoding: "gzip"
@thebino That works, but a better way is to set the 'accept-encoding: deflate/gzip' header in the test configuration (there is a 'headers' option).
also the extract_test
both ends in a invalid header name: