summaryrefslogtreecommitdiff
path: root/src/server/RunHTTP.hs
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2014-04-09 17:51:25 +0000
committerhallgren <hallgren@chalmers.se>2014-04-09 17:51:25 +0000
commitd1da0e06de1d50e5246ea362ea8f2949b6a2a950 (patch)
treef671f96bc52939b38eca57ed7299f2c0dbb1a60c /src/server/RunHTTP.hs
parent50ea3d265c35b677b60aa6a465eb19bcd66d25ad (diff)
PGF web service: add unlexers and enable client side caching
Most PGF web API commands that produce linearizations now accept an unlexer parameter. Possible values are "text", "code" and "mixed". The web service now include Date and Last-Modified headers in the HTTP, responses. This means that browsers can treat responses as static content and cache them, so it becomes less critical to cache parse results in the server. Also did some cleanup in PGFService.hs, e.g. removed a couple of functions that can now be imported from PGF.Lexing instead.
Diffstat (limited to 'src/server/RunHTTP.hs')
0 files changed, 0 insertions, 0 deletions