RFC: Improvements to error handling in Cookie/CookieJar APIs
This is just a high level idea for API improvements to do at some point.
-
soup_cookie_parse()
should have a replacement with aGError
so there can be feedback on why it fails. -
soup_cookie_parse()
should do as many of the sanitizing checks that are done insoup_cookie_jar_add_cookie_full()
, so it can fail early. -
soup_cookie_jar_add_cookie_full()
should have a replacement with aGError
also.