[web] allow configuration of the Content-disposition value
The `set_content_type` function now takes and optional `disposition` parameter
to control the value of this HTTP header.
Use of `Content-disposition: inline` with a filename parameter are valid, so
the presence of filename does not allows to choose between `attachment` and
`inline`
# Run all scenarii found in windmill directory
from os.path import join, dirname
from cubicweb.devtools.cwwindmill import (CubicWebWindmillUseCase,
unittest_main)
class CubicWebWindmillUseCase(CubicWebWindmillUseCase):
#test_dir = join(dirname(__file__), "windmill/test_edit_relation.py")
pass
if __name__ == '__main__':
unittest_main()