Skip to content

Commit

Permalink
Updated readme.
Browse files Browse the repository at this point in the history
Signed-off-by: Alistair Kearney <alistair@21degrees.com.au>
  • Loading branch information
ashooner authored and Alistair Kearney committed Jul 29, 2009
1 parent 4d527c8 commit eea2968
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,13 @@ stored in the Symphony config file, and page type is matched against these mappi
be set. Should more than one match be found, the last one encountered will be
used.


[CONTENT DISPOSITION]
To force download of a page (by setting the Content-Disposition header), give it a page
type that begins with a '.'. The page will be downloaded with a filename = $page-handle.$type.
For instance, a page with handle 'form-data' and a page type of '.csv' will be downloaded as
'form-data.csv'.

Depending on the Content Type you map to a page type, it may not be necessary to add this
Content-Disposition header in order to cause the page to download.

0 comments on commit eea2968

Please sign in to comment.