[Bps-public-commit] SD branch, master, updated. a63f299cdf1d785d4c8e823b69f77651726925c3
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Thu May 21 03:25:59 EDT 2009
The branch, master has been updated
via a63f299cdf1d785d4c8e823b69f77651726925c3 (commit)
from f16af90bf40b6666e7b5fb240092eaa22528abf9 (commit)
Summary of changes:
lib/App/SD/Replica/gcode/PullEncoder.pm | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
- Log -----------------------------------------------------------------
commit a63f299cdf1d785d4c8e823b69f77651726925c3
Author: sunnavy <sunnavy at gmail.com>
Date: Thu May 21 15:25:46 2009 +0800
we have content_type for download of gcode now
diff --git a/lib/App/SD/Replica/gcode/PullEncoder.pm b/lib/App/SD/Replica/gcode/PullEncoder.pm
index b92feac..d58ad92 100644
--- a/lib/App/SD/Replica/gcode/PullEncoder.pm
+++ b/lib/App/SD/Replica/gcode/PullEncoder.pm
@@ -348,11 +348,11 @@ sub _recode_attachment_create {
}
);
-# $change->add_prop_change(
-# name => 'content_type',
-# old => undef,
-# new => 'text/plain',
-# );
+ $change->add_prop_change(
+ name => 'content_type',
+ old => undef,
+ new => $args{'attachment'}->content_type,
+ );
$change->add_prop_change(
name => 'created',
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list