Hi Sven,

I had a sample http request specified to have ```Accept-Encoding: gzip```
and too a guess the following would work... ```client := ZnClient new
accept: 'gzip' ```
but it doesn't since ZnClient>>accept:
effectively does ``` 'gzip' asZnMimeType  ```
which expects the string to contain a forward-slash

However this page seems to indicate no slash is required...
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding

If I call ```client request setAccept: 'gzip'  ```
I am able to match what is expected (checked with WireShark)
but I'm not sure the sample I was provided is legit or I'm doing something
wrong

cheers -ben

Reply via email to