Changeset 4867 for cows


Ignore:
Timestamp:
28/01/09 12:03:59 (11 years ago)
Author:
domlowe
Message:

changing wcs response filename from default. Also tagging svn revisions when egging (may want to revise this following configuration disucssion).

Location:
cows/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cows/trunk/cows/pylons/wcs_controller.py

    r4805 r4867  
    188188        mType='application/cf-netcdf' 
    189189        response.headers['Content-Type']=mType 
    190         response.headers['Content-Disposition'] = paste.httpheaders.CONTENT_DISPOSITION(attachment=True, filename='filename.nc') 
     190        response.headers['Content-Disposition'] = paste.httpheaders.CONTENT_DISPOSITION(attachment=True, filename=filepath) 
    191191        return response.write(fileToReturn.read()) 
    192192             
  • cows/trunk/setup.cfg

    r4060 r4867  
    11[egg_info] 
    2 #tag_svn_revision = true 
     2tag_svn_revision = true 
Note: See TracChangeset for help on using the changeset viewer.