1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-08-03 08:21:55 +03:00

http: Improve error message for HTTPS redirects

This commit is contained in:
Nick Wellnhofer
2024-02-19 11:09:39 +01:00
parent e314109ad1
commit 67e475b78e
5 changed files with 12 additions and 8 deletions

View File

@ -100,7 +100,7 @@ run_test(desc="Loading entity with custom callback",
docpath=startURL, catalog=None,
exp_status="loaded", exp_err=[
( 3, 'failed to load "http://example.com/dtds/sample.dtd": Attempt to load network entity\n'),
( -1, "Attempt to load network entity http://example.com/dtds/sample.dtd"),
( -1, "Attempt to load network entity: http://example.com/dtds/sample.dtd"),
( 4, "Entity 'sample.entity' not defined\n")
])