diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-07-05 12:39:01 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-07-05 12:39:01 +0200 |
commit | 4fdad31fd199ef97b078f6355463d64ce598e85e (patch) | |
tree | 1e088b075e4ae7472a6bef9a62d48281aa6d3b3c /uclient-backend.h | |
parent | 6b89c6ae65d2a1ca34f2d874773f2f6fb4ac59ff (diff) | |
download | uclient-4fdad31fd199ef97b078f6355463d64ce598e85e.tar.gz |
http: add support for relative location on redirect
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'uclient-backend.h')
-rw-r--r-- | uclient-backend.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |