projects
/
app.mailtrimmer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
901a6e3
)
src/strip.vala
author
Alan Knowles
<alan@roojs.com>
Thu, 3 May 2018 08:54:38 +0000
(16:54 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 3 May 2018 08:54:38 +0000
(16:54 +0800)
src/strip.vala
patch
|
blob
|
history
diff --git
a/src/strip.vala
b/src/strip.vala
index
f9f756b
..
b018067
100644
(file)
--- a/
src/strip.vala
+++ b/
src/strip.vala
@@
-452,6
+452,7
@@
public class Strip : GLib.Object {
rep.get_content_type().set_parameter("charset", "utf-8");
rep.set_header("X-strip-id", file_id);
rep.set_header("X-strip-path", create_dir + "/" + filename);
+ rep.set_header("X-content-type", mime_type);
var stream = new GMime.StreamMem.with_buffer(txt.data);
var con = new GMime.DataWrapper.with_stream(stream,GMime.ContentEncoding.DEFAULT);