-
-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle not supported content encoding #327
base: master
Are you sure you want to change the base?
Handle not supported content encoding #327
Commits on Sep 6, 2019
-
update HtmlWeb.cs so as not to parse content encoding when overriding…
… encoding Although HtmlWeb class allows to ignore resp.ContentEncoding by OverrideEncoding property, it cannot help in the case where resp.ContentEncoding has encoding name which is not supported by Encoding class. This is because Encoding.GetEncoding method throws ArgumentException in that case. When OverrideEncoding is provided, the result from resp.ContentEncoding has not been used, so that simply skipping Encoding.GetEncoding method call can make it work. EncodingNotSupportedException is added in order to notify that such not supported content encoding is received in the response, with the information of the received content encoding name. This is more helpful than ArgumentException.
Configuration menu - View commit details
-
Copy full SHA for 19f19af - Browse repository at this point
Copy the full SHA 19f19afView commit details -
update EncodingNotSupportedException to make Encoding property access…
…ible in public modify access modifier of Encoding property of EncodingNotSupportedException from internal to public.
Configuration menu - View commit details
-
Copy full SHA for beb34cd - Browse repository at this point
Copy the full SHA beb34cdView commit details
Commits on Nov 15, 2019
-
wrap HttpRequest and HttpResponse with interfaces, and make HtmlWeb class testable.
Configuration menu - View commit details
-
Copy full SHA for 73060a6 - Browse repository at this point
Copy the full SHA 73060a6View commit details -
add a test project targeting multiple .NET versions
add a test project targeting multiple .NET version. copy the existing tests in HtmlAgilityPack.Tests.Net45.
Configuration menu - View commit details
-
Copy full SHA for 494038d - Browse repository at this point
Copy the full SHA 494038dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d05430 - Browse repository at this point
Copy the full SHA 8d05430View commit details -
add test code for HtmlWeb.Load method
add test code for HtmlWeb.Load method
Configuration menu - View commit details
-
Copy full SHA for 10fcb6f - Browse repository at this point
Copy the full SHA 10fcb6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1d74b0 - Browse repository at this point
Copy the full SHA b1d74b0View commit details -
modify test project target to core 2.1
It turned out NUnit tests are not running with core 2.0. Therefore, changed test project target to core 2.1 so that we can run tests over .NET Core.
Configuration menu - View commit details
-
Copy full SHA for e37d166 - Browse repository at this point
Copy the full SHA e37d166View commit details
Commits on Nov 16, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 66f7075 - Browse repository at this point
Copy the full SHA 66f7075View commit details -
Configuration menu - View commit details
-
Copy full SHA for e183a20 - Browse repository at this point
Copy the full SHA e183a20View commit details -
Configuration menu - View commit details
-
Copy full SHA for df65211 - Browse repository at this point
Copy the full SHA df65211View commit details -
add mshome.html file load to mock in HtmlWebTests.TestLoad
add mshome.html file load to mock in HtmlWebTests.TestLoad. modify how to get assembly location in generated test code in HtmlWebTestGenerator.
Configuration menu - View commit details
-
Copy full SHA for ea6c29f - Browse repository at this point
Copy the full SHA ea6c29fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fbaf94 - Browse repository at this point
Copy the full SHA 7fbaf94View commit details -
correct Preprocessor symbols used in HtmlWebResponseWrapper
The code was never be active because of the wrong condition and wrong symbols in the processor directive. correct it so that the code is activated in net4.5 and newer. add a preprocessor symbol in two projects so as to build HtmlAgilityPack.Master solution also with Debug configuration.
Configuration menu - View commit details
-
Copy full SHA for d9dad64 - Browse repository at this point
Copy the full SHA d9dad64View commit details