forked from boostorg/beast
bad_target replaces bad_path (API Change):
Actions Required: * Replace references to http::error::bad_path with http::error::bad_target
This commit is contained in:
@@ -318,12 +318,12 @@ parse_header(char const*& p, char const* term,
|
||||
auto const target = parse_target(p);
|
||||
if(target.empty())
|
||||
{
|
||||
ec = error::bad_path;
|
||||
ec = error::bad_target;
|
||||
return;
|
||||
}
|
||||
if(*p++ != ' ')
|
||||
{
|
||||
ec = error::bad_path;
|
||||
ec = error::bad_target;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user