Python CGI ..
[
2ch
|
▼Menu
]
■コピペモード
□
スレを通常表示
□
オプションモード
□このスレッドのURL
■項目テキスト
37:nobodyさん 08/01/08 17:07:19 b 38:nobodyさん 08/01/09 12:10:27 bcpl 39:nobodyさん 08/01/17 14:40:53 pythonでContent-type: application/octet-stream と指定したいんだけど、どうすればいいの 40:nobodyさん 08/01/17 18:11:42 setHeader(name, value): Sets an HTTP return header "name" with value "value", clearing the previous value set for the header, if one exists. If the literal flag is true, the case of the header name is preserved, otherwise word-capitalization will be performed on the header name on output. Permission Always available 41:nobodyさん 08/01/17 19:48:54 できないんですね。諦めました 42:nobodyさん 08/01/25 06:20:43 >>39 CGIならそのまま print "COntent-Type: application/octeat-stream" print "" でいいんじゃないの? 43:nobodyさん 08/02/07 17:51:11 >>24 昔、 f = cgi.FieldStorage() g = cgi.FieldSrorage() とやると、g には情報が入ってないということに気づいてなくて、 ハマった思い出がある・・・、それかも?
次ページ
最新レス表示
スレッドの検索
類似スレ一覧
話題のニュース
おまかせリスト
▼オプションを表示
レスジャンプ
mixiチェック!
Twitterに投稿
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch
5384日前に更新/38 KB
担当:undef