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:
parent
57d7637b59
commit
9fefb434f2
2 changed files with 14 additions and 2 deletions
|
@ -22,7 +22,8 @@ public:
|
|||
RequestTooLarge,
|
||||
RequestIncomplete,
|
||||
OutOfMemory,
|
||||
UnsupportedMethod
|
||||
UnsupportedMethod,
|
||||
InvalidURL
|
||||
};
|
||||
|
||||
static StringView parse_error_to_string(ParseError error)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue