Do not distract richzilla from the answer, which, of course, is completely correct and answered my question. Seeing how it gets a few votes and visits, there must be other people making the same mistake as me, so itβs worth saying that the complete answer to my problem was
result.Content.Headers.ContentEncoding.Add("gzip");
source share