From 4fdad31fd199ef97b078f6355463d64ce598e85e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 5 Jul 2016 12:39:01 +0200 Subject: http: add support for relative location on redirect Signed-off-by: Felix Fietkau --- uclient-backend.h | 1 + 1 file changed, 1 insertion(+) (limited to 'uclient-backend.h') diff --git a/uclient-backend.h b/uclient-backend.h index 84d7b87..c2b9fd5 100644 --- a/uclient-backend.h +++ b/uclient-backend.h @@ -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 -- cgit v1.2.1