diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-03-23 00:29:18 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-03-23 00:29:18 +0100 |
commit | f619ebe9d3343867bc8a8d5e98e6b81e645129e5 (patch) | |
tree | 77fe1f4050a813c9d3fa26a0afbae8ab411dd0e5 /uclient.h | |
parent | 0e5604d1d1abf7b6fd82d95da31c7718925e11fc (diff) | |
download | uclient-f619ebe9d3343867bc8a8d5e98e6b81e645129e5.tar.gz |
add a utility function to detect redirects and handle them
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'uclient.h')
-rw-r--r-- | uclient.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -52,5 +52,6 @@ extern const struct uclient_backend uclient_backend_http; int uclient_http_set_header(struct uclient *cl, const char *name, const char *value); int uclient_http_reset_headers(struct uclient *cl, const char *name, const char *value); int uclient_http_set_request_type(struct uclient *cl, const char *type); +bool uclient_http_redirect(struct uclient *cl); #endif |