This project has moved and is read-only. For the latest updates, please go here.

HtmlAgilityPack 1.4.6 gzip is not a supported encoding name

Topics: Developer Forum, User Forum
May 16, 2014 at 6:01 PM
Edited May 16, 2014 at 6:02 PM
Im trying to load a webpage but i keep getting the following error:
An unhandled exception of type 'System.ArgumentException' occurred in mscorlib.dll
Additional information: 'gzip' is not a supported encoding name.

There is a thread about gzip here:

But i cant even find half the code that i am suppose to change in HtmlAgilityPack 1.4.6. Is that part of the source code changed? And is it possible to fix this?
Im using this to load the wepsite:
      HtmlWeb site = new HtmlWeb();
      HtmlAgilityPack.HtmlDocument document = site.Load(URL);