Commit f6094ecf authored by Luc Didry's avatar Luc Didry

Add content-type for restauration. Fix #5

parent 32026380
......@@ -143,7 +143,7 @@ sub startup {
$url->scheme($c->req->headers->header('X-Forwarded-Proto'));
$c->debug($url->to_abs->to_string);
my $tx = $c->ua->put($url => $content);
my $tx = $c->ua->put($url => { 'Content-Type' => 'text/x-socialcalc' } => $content);
if ($tx->success) {
$success = true;
} else {
......
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