4D v13.4WEB SEND BLOB |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
WEB SEND BLOB
|
WEB SEND BLOB ( BLOB ; type {; noContext} ) | ||||||||
引数 | 型 | 説明 | ||||||
BLOB | BLOB |
![]() |
ブラウザへ送るBLOB | |||||
type | 文字 |
![]() |
BLOBのデータタイプ | |||||
noContext | ブール |
![]() |
*** 使用しません *** | |||||
WEB SEND BLOBコマンドを使用して blob をブラウザへ送ります。
BLOBに含まれるデータのタイプは type によって示されます。この引数は以下の定数のいずれかになります。
最も一般的なMIMEタイプのリストです。
拡張子 | Mime Type |
.htm | text/html |
.html | text/html |
.shtml | text/html |
.shtm | text/html |
.css | text/css |
application/pdf | |
.rtf | application/rtf |
.ps | application/postscript |
.eps | application/postscript |
.hqx | application/mac-binhex40 |
.js | application/javascript |
.json | application/json |
.txt | text/plain |
.text | text/plain |
.gif | image/gif |
.jpg | image/jpeg |
.jpeg | image/jpeg |
.jpe | image/jpeg |
.jfif | image/jpeg |
.pic | image/pict |
.pict | image/pict |
.tif | image/tiff |
.tiff | image/tiff |
.mpeg | video/mpeg |
.mpg | video/mpeg |
.mov | video/quicktime |
.moov | video/quicktime |
.aif | audio/aiff |
.aiff | audio/aiff |
.wav | audio/wav |
.ram | audio/x-pn-realaudio |
.sit | application/x-stuffit |
.bin | application/x-stuffit |
.xml | application/xml |
.z | application/x-zip |
.zip | application/x-zip |
.gz | application/x-gzip |
.tar | application/x-tar |
Note: 詳細は、http://www.iana.org に記述されている "Protocol Numbers and Assignment Services" のトピックを確認してください。
noContext 引数は互換性のためにのみ保持されています。4D v13以降は使用されません。
4DTEXTや4DSCRIPTなど4Dタグの解析についてはST FREEZE EXPRESSIONSを参照してください。
PICTURE TO GIFルーチンの例を参照してください。
プロダクト: 4D
テーマ: Webサーバ
番号:
654
初出: 4D v6.5
名称変更: 4D v13