1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 07:38:10 +00:00

LibHTTP: Return an error if HTTP request URL is not valid UTF-8

This commit is contained in:
Tim Ledbetter 2023-10-05 18:06:10 +01:00 committed by Ali Mohammad Pur
parent 57d7637b59
commit 9fefb434f2
2 changed files with 14 additions and 2 deletions

View file

@ -22,7 +22,8 @@ public:
RequestTooLarge,
RequestIncomplete,
OutOfMemory,
UnsupportedMethod
UnsupportedMethod,
InvalidURL
};
static StringView parse_error_to_string(ParseError error)