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:
Vinnie Falco
2017-07-20 08:15:29 -07:00
parent 8207a53113
commit 43f8bb841a
6 changed files with 11 additions and 8 deletions
+2 -2
View File
@@ -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;
}