Attachment 'download.py'

Download

   1 #!/usr/bin/env python
   2 # ~*~ coding: utf-8 ~*~
   3 
   4 print '''\
   5 Status: 200 OK
   6 Content-Type: text/plain
   7 Content-Disposition: inline; filename*=utf-8'en'J%C3%BCrgen
   8 
   9 This file should be saved as Jürgen.
  10 '''

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2008-11-23 12:51:31, 4.7 KB) [[attachment:30460_content_disposition_encode.patch]]
  • [get | view] (2008-11-29 08:57:59, 2988.5 KB) [[attachment:Many_chars before-name Файл с пробелом и длинным русским названием.очень.rar]]
  • [get | view] (2008-08-16 19:23:20, 0.2 KB) [[attachment:download.py]]
  • [get | view] (2007-09-25 14:55:36, 14.1 KB) [[attachment:hebrew.png]]
  • [get | view] (2014-05-26 09:14:46, 4.8 KB) [[attachment:test ミル川人.docx]]
  • [get | view] (2007-09-25 09:07:58, 23.5 KB) [[attachment:test русских имён.doc]]
  • [get | view] (2007-09-25 14:52:52, 0.0 KB) [[attachment:test עברית.txt]]
  • [get | view] (2014-05-26 09:12:30, 4.8 KB) [[attachment:test ミル川人.docx]]
  • [get | view] (2007-09-25 09:11:52, 40.2 KB) [[attachment:wiki_rus_files_bad.png]]
  • [get | view] (2007-09-25 09:11:35, 28.6 KB) [[attachment:wiki_rus_files_ok.png]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.