Commit 05c63af7 authored by Max Kellermann's avatar Max Kellermann

InputStream: add method ClearMimeType()

parent 1f59701c
...@@ -200,6 +200,10 @@ public: ...@@ -200,6 +200,10 @@ public:
return mime.empty() ? nullptr : mime.c_str(); return mime.empty() ? nullptr : mime.c_str();
} }
void ClearMimeType() {
mime.clear();
}
gcc_nonnull_all gcc_nonnull_all
void SetMimeType(const char *_mime) { void SetMimeType(const char *_mime) {
assert(!ready); assert(!ready);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment