generic_vendor_options.txt 900 B

1234567891011121314151617181920212223242526272829
  1. General Vendor Options
  2. ----------------------
  3. These vendor options are available for all operations.
  4. content-disposition
  5. ^^^^^^^^^^^^^^^^^^^
  6. The ``content-disposition`` parameter directs how a web browser directed to handle returned content. The syntax is::
  7. content-disposition=<disposition>
  8. Where ``content-disposition =attachment`` to direct the browser to save the content to disk.
  9. Where ``content-disposition=inline`` asks the browser to display the content. Note this may present performance issues when asked to display very large content.
  10. filename
  11. ^^^^^^^^
  12. The ``filename`` parameter provides a suggested filename when a browser saves a file (e.g. to Downloads folder). The syntax is::
  13. filename=<file>
  14. An example of filename use is::
  15. filename=features.json
  16. When service output is saved as a file, the vendor-option ``filename`` is used to provide the file name used.