projects
/
pithos-web-client
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Send content-type when copy/cut/paste
[pithos-web-client]
/
src
/
gr
/
grnet
/
pithos
/
web
/
client
/
commands
/
PasteCommand.java
diff --git
a/src/gr/grnet/pithos/web/client/commands/PasteCommand.java
b/src/gr/grnet/pithos/web/client/commands/PasteCommand.java
index
8fd5d8b
..
a6c8f10
100644
(file)
--- a/
src/gr/grnet/pithos/web/client/commands/PasteCommand.java
+++ b/
src/gr/grnet/pithos/web/client/commands/PasteCommand.java
@@
-158,6
+158,7
@@
public class PasteCommand implements Command {
};
copyFile.setHeader("X-Auth-Token", app.getToken());
copyFile.setHeader("X-Move-From", file.getUri());
+ copyFile.setHeader("Content-Type", file.getContentType());
Scheduler.get().scheduleDeferred(copyFile);
}
else if (callback != null) {