aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-10-07 13:20:54 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-10-07 18:19:19 +0200
commit2a5ea0269a1f9511c51d661a6c7d7bdc7d0176fa (patch)
tree7649cf4c1c20bbe8c801d642148992eea314d3ec /doc
parentAdd hint on enabling plugins to makepkg (diff)
downloadsmolbote-2a5ea0269a1f9511c51d661a6c7d7bdc7d0176fa.tar.xz
Expand HTTP header settings #4
- add doc/Usage/Filter.asciidoc to explain the usage of the filter headers - add HTTP headers to Profile (section "headers") - Use request interceptor to apply filter headers, then profile headers - add insert/delete actions to ProfileEditor
Diffstat (limited to 'doc')
-rw-r--r--doc/Usage/Filter.asciidoc12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/Usage/Filter.asciidoc b/doc/Usage/Filter.asciidoc
new file mode 100644
index 0000000..d23d57a
--- /dev/null
+++ b/doc/Usage/Filter.asciidoc
@@ -0,0 +1,12 @@
+== Url Request Filter
+smolbote has a singular URL request filter that is installed onto all profiles.
+Any setting applied to it will be applied to all profiles.
+
+=== filter.header
+ A list of header-value pairs, separated by a colon (':').
+
+You can specify multiple headers by using --filter.header multiple times:
+[source, sh]
+----
+poi --filter.header "Dnt:1" --filter.header "Accept:text/html"
+----