Commit c1189c52 authored by Dietmar Maurer's avatar Dietmar Maurer

use application/x-virt-viewer

parent ea076656
......@@ -112,7 +112,7 @@ sub format_response_data {
$ct = 'text/html;charset=UTF-8';
$raw = encode_entities(to_json($data, {allow_nonref => 1}));
} elsif ($format eq 'spiceconfig') {
$ct = 'application/x-spice-configuration;charset=UTF-8';
$ct = 'application/x-virt-viewer;charset=UTF-8';
if ($data && ref($data) && ref($data->{data})) {
$raw = "[virt-viewer]\n";
while (my ($key, $value) = each %{$data->{data}}) {
......
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