From 05c63af7c473de374406d76e146d73245de10a2b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 2 Nov 2014 12:59:16 +0100 Subject: InputStream: add method ClearMimeType() --- src/input/InputStream.hxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/input/InputStream.hxx b/src/input/InputStream.hxx index 15c350103..81b903ba2 100644 --- a/src/input/InputStream.hxx +++ b/src/input/InputStream.hxx @@ -200,6 +200,10 @@ public: return mime.empty() ? nullptr : mime.c_str(); } + void ClearMimeType() { + mime.clear(); + } + gcc_nonnull_all void SetMimeType(const char *_mime) { assert(!ready); -- cgit v1.2.3