#NEWLINE# def download_adv_rspec( request ) : #NEWLINE# #INDENT# adv_rspec = rspec . get_resources ( None , True ) #NEWLINE# response = HttpResponse ( adv_rspec , mimetype = 'application/force-download' ) #NEWLINE# response [ 'Content-Disposition' ] = 'attachment; filename=adv_rspec.xml' #NEWLINE# return response