summaryrefslogtreecommitdiff
path: root/service/models.ice
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-03-08 21:19:21 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2018-03-08 22:41:03 +0000
commitc3d93684368c82c0d7f969997264c121cbaafabd (patch)
tree85b37e5b9f82ac70b660857b0828fdf4f9cca685 /service/models.ice
parentSplit the builds into the usual domain, api and service components (diff)
downloadmirrorsearch-c3d93684368c82c0d7f969997264c121cbaafabd.tar.bz2
mirrorsearch-c3d93684368c82c0d7f969997264c121cbaafabd.tar.xz
mirrorsearch-c3d93684368c82c0d7f969997264c121cbaafabd.zip
Allow configuring referrer and useragent, also set a collection of other handy headers
Diffstat (limited to 'service/models.ice')
-rw-r--r--service/models.ice2
1 files changed, 2 insertions, 0 deletions
diff --git a/service/models.ice b/service/models.ice
index 971e7b9..7d83829 100644
--- a/service/models.ice
+++ b/service/models.ice
@@ -7,6 +7,8 @@ module MirrorSearch {
int id;
string name;
string baseurl;
+ optional(0) string referrer;
+ optional(1) string useragent;
string listxpath;
string urlxpath;
int parserflags;