InputStream: add method ClearMimeType()

This commit is contained in:
Max Kellermann 2014-11-02 12:59:16 +01:00
parent 1f59701c46
commit 05c63af7c4

View File

@ -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);