For any number of whitespaces you can use `.find_first_not_of(" \t", pos);`
Check libcurl code to be sure that we need it.