http: add support for relative location on redirect
[project/uclient.git] / uclient-backend.h
index 84d7b87243e050dcc32343ea9001bfd8df474c95..c2b9fd538189e2c4a96240bb7bae159031abd3eb 100644 (file)
@@ -40,5 +40,6 @@ void uclient_backend_set_error(struct uclient *cl, int code);
 void uclient_backend_set_eof(struct uclient *cl);
 void uclient_backend_reset_state(struct uclient *cl);
 struct uclient_url *uclient_get_url(const char *url_str, const char *auth_str);
+struct uclient_url *uclient_get_url_location(struct uclient_url *url, const char *location);
 
 #endif