diff options
author | Vincent Sanders <vince@kyllikki.org> | 2021-03-25 23:31:37 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2021-03-25 23:36:41 +0000 |
commit | 5a2f69388c924dd0798e372f263af6f29cb44f10 (patch) | |
tree | d96da54a89989a7bb2b33cb0bc2dbcfd7a6f2535 /content/fetch.h | |
parent | 537f131ee3617614cba46dae2d893d209c0a95e3 (diff) | |
download | netsurf-5a2f69388c924dd0798e372f263af6f29cb44f10.tar.gz netsurf-5a2f69388c924dd0798e372f263af6f29cb44f10.tar.bz2 |
hoist the Referer header generation logic up to the low level cache
This removes the need for the fetchers to have any interaction with
the Referer header. It has not been completely removed from the
fetch interface as fetch.c:fetch_set_cookie() still uses it for
unverifiable cookie decision logic. (There is an anchient todo here)
Diffstat (limited to 'content/fetch.h')
-rw-r--r-- | content/fetch.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/content/fetch.h b/content/fetch.h index fdb3bfbd8..843fec96e 100644 --- a/content/fetch.h +++ b/content/fetch.h @@ -230,11 +230,6 @@ void fetch_free(struct fetch *f); void fetch_set_http_code(struct fetch *fetch, long http_code); /** - * get the referer from the fetch - */ -const char *fetch_get_referer_to_send(struct fetch *fetch); - -/** * set cookie data on a fetch */ void fetch_set_cookie(struct fetch *fetch, const char *data); |