view demo.py @ 5729:9ea2ce9d10cf

A few internet references report that etags for the same underlying resource but with different representation (xml, json ...) should have different etags. That is currently not the case. Added code to allow incorporation of representation info into the etag. By default the representation is "json", but future patches can pass the representation down and modify flow to match requested representation.
author John Rouillard <rouilj@ieee.org>
date Sat, 25 May 2019 14:23:16 -0400
parents 110ac45875ab
children 7f0bc46aee67
line wrap: on
line source

#!/usr/bin/env python
import sys
import roundup

from roundup.demo import main

sys.exit(main())

Roundup Issue Tracker: http://roundup-tracker.org/