aboutsummaryrefslogtreecommitdiffstats
path: root/worker/lib/headers.go
diff options
context:
space:
mode:
authorMoritz Poldrack <git@moritz.sh>2024-01-18 23:33:30 +0100
committerRobin Jarry <robin@jarry.cc>2024-01-19 23:31:52 +0100
commit2d9d7e0bed87d11771a7264c08c02d110eef6751 (patch)
treef8aa544d86b1f3fae675e79f318db5556d1ddfba /worker/lib/headers.go
parent978b5e444215255a9671ce439f1594888697f799 (diff)
downloadaerc-2d9d7e0bed87d11771a7264c08c02d110eef6751.tar.gz
templates: add basic string functions
Some clients are sending a text/plain part that contains nothing but the text/html part. This is rather suboptimal when replying. To be able to filter these, it is important to be able to detect things like <!doctype html>. Add basic string operations to the template functions. Signed-off-by: Moritz Poldrack <git@moritz.sh> Tested-by: Koni Marti <koni.marti@gmail.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker/lib/headers.go')
0 files changed, 0 insertions, 0 deletions