diff options
-rwxr-xr-x | include/nms/web.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/nms/web.pm b/include/nms/web.pm index 7372916..2a5e132 100755 --- a/include/nms/web.pm +++ b/include/nms/web.pm @@ -77,8 +77,10 @@ sub finalize_output { $json{'time'} = $query->fetchrow_hashref()->{'time'}; $json{'hash'} = $hash; + printcc; - + + print "Etag: $hash\n"; print "Content-Type: text/jso; charset=utf-8\n\n"; print JSON::XS::encode_json(\%json); print "\n"; |