beremiz
Clone
Summary
Browse
Changes
Graph
SVGHMI : avoid caching of xhtml file by forcing cache-control header in http response.
svghmi
2020-01-21, Edouard Tisserant
15d7bd79d9e8
SVGHMI : avoid caching of xhtml file by forcing cache-control header in http response.
These classes are intended for use server-side.
e.g. in a django view.py :
from pyjs.jsonrpc.django import JSONService, jsonremote
jsonservice = JSONRPCService()
@jsonremote(jsonservice)
def test(request, echo_param):
return "echoing the param back: %s" % echo_param