- 浏览: 257746 次
- 性别:
- 来自: 合肥
文章分类
- 全部博客 (238)
- linux (12)
- php (79)
- mysql (9)
- IIS (2)
- apache (5)
- javascript (16)
- jquery (4)
- DIV+CSS (13)
- sqlserver (13)
- window系统 (12)
- photoshop (2)
- fireworks (1)
- 网站性能测试 (2)
- 网络知识 (8)
- c# (3)
- flash game (0)
- 计算机英语 (4)
- python (7)
- 算法设计与思考 (0)
- 服务器配置 (3)
- Flex (2)
- 电脑硬件 (1)
- oracle (7)
- 软件工程 (1)
- c语言 (1)
- nginx (5)
- wordpress (1)
- coreseek (0)
最新评论
-
玲cc:
语言这东西不用就容易忘。。以前学了现在又差不多忘光了。。
python满足你需要的50个模块 -
huazhiyu1981:
了解python库函数必须要有的资料!
python满足你需要的50个模块 -
faroasis:
toLocale之类的方法在ie下取决于本地设置,不建议用来做 ...
js时间戳转为日期格式 -
hyl1234:
pydev不错,不过还没入门。谢lz
python满足你需要的50个模块 -
mirguest:
因此,我就写了下面这个代码:
#!/usr/bin/env ...
python类学习
Description of Data Content | Typical Filename Extensions | MIME type/subtype | |
Text and Text-Related Types | |||
HTML text data (RFC 1866) | html htm | text/html | |
Plain text: documents; program listings | txt c c++ pl cc h | text/plain | |
Richtext (obsolete - replaced by text/enriched) | text/richtext | ||
Structure enhanced text | (etx?) | text/x-setext | |
Enriched text markup (RFC 1896) | text/enriched | ||
Tab-separated values (tabular) | (tsv?) | text/tab-separated-values | |
SGML documents (RFC 1874) | text/sgml | ||
Speech synthesis data (MVP Solutions ) | talk | text/x-speech | |
Document Stylesheet Types | |||
Cascading Stylesheets | css | text/css | |
DSSSL-online stylesheets | application/dsssl (proposed) | ||
Image Types | |||
GIF | gif | image/gif | |
X-Windows bitmap (b/w) | xbm | image/x-xbitmap | |
X-Windows pixelmap (8-bit color) | xpm | image/x-xpixmap | |
Portable Network Graphics | png | image/x-png | |
Image Exchange Format (RFC 1314) | ief | image/ief | |
JPEG | jpeg jpg jpe | image/jpeg | |
TIFF | tiff tif | image/tiff | |
RGB | rgb | image/rgb | |
image/x-rgb | |||
Group III Fax (RFC 1494) | g3f | image/g3fax | |
X Windowdump format | xwd | image/x-xwindowdump | |
Macintosh PICT format | pict | image/x-pict | |
PPM (UNIX PPM package) | ppm | image/x-portable-pixmap | |
PGM (UNIX PPM package) | pgm | image/x-portable-graymap | |
PBM (UNIX PPM package) | pbm | image/x-portable-bitmap | |
PNM (UNIX PPM package) | pnm | image/x-portable-anymap | |
Microsoft Windows bitmap | bmp | image/x-ms-bmp | |
CMU raster | ras | image/x-cmu-raster | |
Kodak Photo-CD | pcd | image/x-photo-cd | |
Computer Graphics Metafile | cgm | image/cgm | |
North Am. Presentation Layer Protocol | image/naplps | ||
CALS Type 1 or 2 | mil cal | image/x-cals | |
Fractal Image Format (Iterated Systems ) | fif | image/fif | |
QuickSilver active image (Micrografx ) | dsf | image/x-mgx-dsf | |
CMX vector image (Corel ) | cmx | image/x-cmx | |
Wavelet-compressed (Summus ) | wi | image/wavelet | |
AutoCad Drawing (SoftSource ) | dwg | image/vnd.dwg | |
image/x-dwg | |||
AutoCad DXF file (SoftSource ) | dxf | image/vnd.dxf | |
image/x-dxf | |||
Simple Vector Format (SoftSource ) | svf | image/vnd.svf | |
also vector/x-svf | |||
Audio/Voice/Music Related Types | |||
"basic"audio - 8-bit u-law PCM | au snd | audio/basic | |
Macintosh audio format (AIpple) | aif aiff aifc | audio/x-aiff | |
Microsoft audio | wav | audio/x-wav | |
MPEG audio | mpa abs mpega | audio/x-mpeg | |
MPEG-2 audio | mp2a mpa2 | audio/x-mpeg-2 | |
compressed speech (Echo Speech Corp. ) | es | audio/echospeech | |
Toolvox speech audio (Voxware ) | vox | audio/voxware | |
RapidTransit compressed audio (Fast Man ) | lcc | application/fastman | |
Realaudio (Progressive Networks ) | ra ram | application/x-pn-realaudio | |
NIFF music notation data format | application/vnd.music-niff | ||
MIDI music data | mmid | x-music/x-midi | |
Koan music data (SSeyo ) | skp | application/vnd.koan | |
application/x-koan | |||
Speech synthesis data (MVP Solutions ) | talk | text/x-speech | |
Video Types | |||
MPEG video | mpeg mpg mpe | video/mpeg | |
MPEG-2 video | mpv2 mp2v | video/mpeg-2 | |
Macintosh Quicktime | qt mov | video/quicktime | |
Microsoft video | avi | video/x-msvideo | |
SGI Movie format | movie | video/x-sgi-movie | |
VDOlive streaming video (VDOnet) | vdo | video/vdo | |
Vivo streaming video (Vivo software ) | viv | video/vnd.vivo | |
video/vivo | |||
Special HTTP/Web Application Types | |||
Proxy autoconfiguration (Netscape browsers) | pac | application/x-ns-proxy-autoconfig | |
See Chapter 6 | application/x-www-form-urlencoded | ||
See Chapter 9 | application/x-www-local-exec | ||
See Chapter 9 (Netscape extension) | multipart/x-mixed-replace | ||
See Chapter 9 and Appendix B | multipart/form-data | ||
Netscape Cooltalk chat data (Netscape ) | ice | x-conference/x-cooltalk | |
Interactive chat (Ichat ) | application/x-chat | ||
Application Types | |||
Text-Related | |||
PostScript | ai eps ps | application/postscript | |
Microsoft Rich Text Format | rtf | application/rtf | |
Adobe Acrobat PDF | application/pdf | ||
application/x-pdf | |||
Maker Interchange Format (FrameMaker ) | mif | application/vnd.mif | |
application/x-mif | |||
Troff document | t tr roff | application/x-troff | |
Troff document with MAN macros | man | application/x-troff-man | |
Troff document with ME macros | me | application/x-troff-me | |
Troff document with MS macros | ms | application/x-troff-ms | |
LaTeX document | latex | application/x-latex | |
Tex/LateX document | tex | application/x-tex | |
GNU TexInfo document | texinfo texi | application/x-texinfo | |
TeX dvi format | dvi | application/x-dvi | |
MacWrite document | ?? | application/macwriteii | |
MS word document | ?? | application/msword | |
WordPerfect 5.1 document | ?? | application/wordperfect5.1 | |
SGML application (RFC 1874) | application/sgml | ||
Office Document Architecture | oda | application/oda | |
Envoy Document | evy | application/envoy | |
Wang Info. Tranfer Format (Wang ) | application/wita | ||
DEC Document Transfer Format (DEC ) | application/dec-dx | ||
IBM Document Content Architecture (IBM ) | application/dca-rft | ||
CommonGround Digital Paper (No Hands Software ) | application/commonground | ||
FrameMaker Documents (Frame ) | doc fm frm frame | application/vnd.framemaker | |
application/x-framemaker | |||
Remote printing at arbitrary printers (RFC 1486) | application/remote-printing | ||
Archive/Compressed Archives | |||
Gnu tar format | gtar | application/x-gtar | |
4.3BSD tar format | tar | application/x-tar | |
POSIX tar format | ustar | application/x-ustar | |
Old CPIO format | bcpio | application/x-bcpio | |
POSIX CPIO format | cpio | application/x-cpio | |
UNIX sh shell archive | shar | application/x-shar | |
DOS/PC - Pkzipped archive | zip | application/zip | |
Macintosh Binhexed archive | hqx | application/mac-binhex40 | |
Macintosh Stuffit Archive | sit sea | application/x-stuffit | |
Fractal Image Format | fif | application/fractals | |
Binary, UUencoded | bin uu | application/octet-stream | |
PC executable | exe | application/octet-stream | |
WAIS "sources" | src wsrc | application/x-wais-source | |
NCSA HDF data format | hdf | application/hdf | |
Downloadable Program/Scripts | |||
Javascript program | js ls mocha | text/javascript | |
application/x-javascript | |||
VBScript program | text/vbscript | ||
UNIX bourne shell program | sh | application/x-sh | |
UNIX c-shell program | csh | application/x-csh | |
Perl program | pl | application/x-perl | |
Tcl (Tool Control Language) program | tcl | application/x-tcl | |
Atomicmail program scripts (obsolete) | application/atomicmail | ||
Slate documents - executable enclosures (BBN ) | application/slate | ||
Undefined binary data (often executable progs) | application/octet-stream | ||
RISC OS Executable programs (ANT Limited ) | application/riscos | ||
Animation/Multimedia | |||
Andrew Toolkit inset | application/andrew-inset | ||
FutureSplash vector animation (FutureWave ) | spl | application/futuresplash | |
mBED multimedia data (mBED ) | mbd | application/mbedlet | |
Macromedia Shockwave (Macromedia ) | application/x-director | ||
Sizzler real-time video/animation | application/x-sprite | ||
PowerMedia multimedia (RadMedia ) | rad | application/x-rad-powermedia | |
Presentation | |||
PowerPoint presentation (Microsoft ) | ppz | application/mspowerpoint | |
PointPlus presentation data (Net Scene ) | css | application/x-pointplus | |
ASAP WordPower (Software Publishing Corp. ) | asp | application/x-asap | |
Astound Web Player multimedia data (GoldDisk ) | asn | application/astound | |
Special Embedded Object | |||
OLE script e.g. Visual Basic (Ncompass ) | axs | application/x-olescript | |
OLE Object (Microsoft/NCompass ) | ods | application/x-oleobject | |
OpenScape OLE/OCX objects (Business@Web ) | opp | x-form/x-openscape | |
Visual Basic objects (Amara ) | wba | application/x-webbasic | |
Specialized data entry forms (Alpha Software ) | frm | application/x-alpha-form | |
client-server objects (Wayfarer Communications ) | wfx | x-script/x-wfxclient | |
General Applications | |||
Undefined binary data (often executable progs) | application/octet-stream | ||
CALS (U.S. D.O.D data format - RFC 1895) | application/cals-1840 | ||
Pointcast news data (Pointcast ) | pcn | application/x-pcn | |
Excel spreadsheet (Microsoft ) | application/vnd.ms-excel | ||
application/x-msexcel | |||
application/ms-excel | |||
PowerPoint (Microsoft ) | ppt | application/vnd.ms-powerpoint | |
application/ms-powerpoint | |||
Microsoft Project (Microsoft ) | application/vnd.ms-project | ||
Works data (Microsoft ) | application/vnd.ms-works | ||
MAPI data (Microsoft ) | application/vnd.ms-tnef | ||
Artgallery data (Microsoft) | application/vnd.artgalry | ||
SourceView document (Dataware Electronics ) | svd | application/vnd.svd | |
Truedoc (Bitstream ) | application/vnd.truedoc | ||
Net Install - software install (20/20 Software ) | ins | application/x-net-install | |
Carbon Copy - remote control/access (Microcom ) | ccv | application/ccv | |
Spreadsheets (Visual Components ) | vts | workbook/formulaone | |
Cybercash digital money (Cybercash ) | application/cybercash | ||
Format for sending generic Macintosh files | application/applefile | ||
Active message -- connect to active mail app. | application/activemessage | ||
X.400 mail message body part (RFC 1494) | application/x400-bp | ||
USENET news message id (RFC 1036) | application/news-message-id | ||
USENET news message (RFC 1036) | application/news-transmission | ||
Multipart Types (mostly email) | |||
Messages with multiple parts | multipart/mixed | ||
Messages with multiple, alternative parts | multipart/alternative | ||
Message with multiple, related parts | multipart/related | ||
Multiple parts are digests | multipart/digest | ||
For reporting of email status (admin.) | multipart/report | ||
Order of parts does not matter | multipart/parallel | ||
Macintosh file data | multipart/appledouble | ||
Aggregate messages; descriptor as header | multipart/header-set | ||
Container for voice-mail | multipart/voice-message | ||
HTML FORM data (see Ch. 9 and App. B) | multipart/form-data | ||
Infinite multiparts - See Chapter 9 (Netscape ) | multipart/x-mixed-replace | ||
Message Types (mostly email) | |||
MIME message | message/rfc822 | ||
Partial message | message/partial | ||
Message containing external references | message/external-body | ||
Message containing USENET news | message/news | ||
HTTP message | message/http | ||
2D/3D Data/Virtual Reality Types | |||
VRML data file | wrl vrml | x-world/x-vrml
(changing to model/vrml) |
|
WIRL - VRML data (VREAM ) | vrw | x-world/x-vream | |
Play3D 3d scene data (Play3D ) | p3d | application/x-p3d | |
Viscape Interactive 3d world data (Superscape ) | svr | x-world/x-svr | |
WebActive 3d data (Plastic Thought ) | wvr | x-world/x-wvr | |
QuickDraw3D scene data (Apple ) | 3dmf | x-world/x-3dmf | |
Scientific/Math/CAD Types | |||
Chemical types -- to communicate information about chemical models | chemical/* (several subtypes) | ||
Mathematica notebook | ma | application/mathematica | |
Computational meshes for numerical simulations | msh | x-model/x-mesh
(evolving to model/mesh) |
|
Vis5D 5-dimensional data | v5d | application/vis5d | |
IGES models -- CAD/CAM (CGM) data | igs | application/iges
(evolving to model/iges?) |
|
Autocad WHIP vector drawings | dwf | drawing/x-dwf | |
Largely Platform-Specific Types |
|||
Silicon Graphics Specific Types |
|||
Showcase Presentations | showcase slides sc sho show | application/x-showcase | |
Insight Manual pages | ins insight | application/x-insight | |
Iris Annotator data | ano | application/x-annotator | |
Directory Viewer | dir | application/x-dirview | |
Software License | lic | application/x-enterlicense | |
Fax manager file | faxmgr | application/x-fax-manager | |
Fax job data file | faxmgrjob | application/x-fax-manager-job | |
IconBook data | icnbk | application/x-iconbook | |
? | wb | application/x-inpview | |
Installable software in 'inst' format | inst | application/x-install | |
Mail folder | application/x-mailfolder | ||
? | pp ppages | application/x-ppages | |
Data for printer (via lpr) | sgi-lpr | application/x-sgi-lpr | |
Software in 'tardist' format | tardist | application/x-tardist | |
Software in compressed 'tardist' format | ztardist | application/x-ztardist | |
WingZ spreadsheet | wkz | application/x-wingz | |
Open Inventor 3-D scenes | iv | graphics/x-inventor |
发表评论
-
zend解密工具
2013-07-05 15:00 1385dezend:http://www.old.necenzur ... -
window下nginx虚拟主机不能解析php
2011-12-19 15:30 1537本地window7配置nginx 1.011虚拟主机不能解析p ... -
[转载]防御远程表单提交
2011-12-14 15:17 982防御远程表单提交 <?php ses ... -
fck 添加字数统计
2011-08-23 18:17 814<div id="textCount&quo ... -
dede伪静态
2011-07-15 17:42 821一、dede后台开启伪静态 二、修改 /include/ta ... -
Error infos: DedeCms错误警告:连接数据库失败,可能数据库密码不对或数据库服务器出错!
2011-04-27 16:00 1852这是因为DedeCMS没有正确的和数据库服务器连接,出现问 ... -
php中的NULL字符
2011-04-11 14:40 900应该很多人都还没有认清空字符 串('')和NULL的关系吧! ... -
php mssql存储过程中的用到的预定义常量
2011-04-02 11:45 741php mssql存储过程中的用到的预定义常量,方便查询 ... -
php连接Oracle Database 10g Express Edition
2011-01-05 14:22 1230Oracle Database 10g Express Edi ... -
appserv2.5.10怪异
2010-12-20 14:30 1249同事使用include('http://')包含远程文件,本地 ... -
php缓冲区
2010-12-01 17:47 843<?php for ($i=0; $i<10; ... -
$_SERVER['SCRIPT_FILENAME']与__FILE__
2010-11-29 15:17 779假如web根目录:D:/web 先建立 d:/web/a.p ... -
zend framework初识并安装
2010-11-26 18:08 1306windows下 1。到官网下去下载zend framwor ... -
百度,google站内搜索
2010-11-22 09:06 844百度站内搜索:http://www.baidu.com/s?q ... -
我的文章被php100放在首页
2010-11-20 10:08 772今天无意中发下我的javaeye博客文章,竟然被php100放 ... -
刚接触thinkphp
2010-11-16 21:40 1713把学习到的thinkphp知识记录一下 ThinkPH ... -
php中的可变变量
2010-11-10 18:27 767感觉这个东西没什么多大作用,只会降低程序的可读性 <? ... -
phper分段,看看自己的位置
2010-11-08 11:22 8781 : 对PHPer的划分,我对P ... -
Xdebug MUST be loaded as a Zend extension in Unknown on line 0
2010-11-06 16:42 1687PHP Warning: Xdebug MUST be ... -
php中的斜杠/
2010-11-06 08:14 1203目录有些人喜欢补上斜杠 比如 $dir = dirname(_ ...
相关推荐
"Content-Type详解" Content-Type是HTTP协议中一个非常重要的头域,用于指示Web服务器发送的响应正文的格式和类型。 Content-Type头域的格式为:Content-Type: [type]/[subtype]; parameter。其中,type表示顶级...
"Content-Type" Content-Type 是 HTTP 协议中的一个 header 字段,用于指示返回消息的 MIME 类型。它是服务器响应消息中非常重要的内容,表明后面的文档属于什么 MIME 类型。Content-Type 的格式为:Content-Type: ...
`Content-type`的设置对网页的正常展示至关重要,因为它决定了浏览器如何处理接收到的数据。例如,如果`Content-type`被设置为`text/html`,浏览器就会将数据解释为HTML文档并进行渲染;若设置为`application/json`...
xhr.setRequestHeader('Content-Type', 'application/json'); ``` 设置正确的`ContentType`对于确保数据的正确传输和解析至关重要。如果忽略或错误设置,可能会导致浏览器无法正确处理数据,如显示乱码、无法播放...
标题“Content-Type的一张表”揭示了我们将讨论的重点是理解并掌握各种`Content-Type`值及其对应的数据格式。描述中的“很经典的。我找了好久”暗示这张表可能是对`Content-Type`全面且实用的总结,具有较高的参考...
理解如何有效地解析这个`Body`,尤其是依赖`Content-Type`头来确定数据格式,是每个Go开发者必须掌握的技能。本文将深入探讨Go语言中如何利用`Content-Type`头自动解析`request.Body`。 首先,`Content-Type`是HTTP...
【标题】"sense_0.9.zip"是一个针对Chrome浏览器的Elasticsearch管理工具的更新版本,主要用于解决之前版本中的Content-Type相关问题。这个压缩包包含的是升级后的sense插件,它是一个强大的命令行界面,使得用户...
HTTP Content-type对照表:文档中列举了开发中绝大部分的ContentType类型信息
content-type的说明~WPS格式的
关于Content-Type的一张表,这是我找了好久才找到的,很经典。
Content-Type用于指示服务器响应的内容类型,告诉浏览器或其他客户端应该以何种方式处理返回的数据。通过正确的设置Content-Type,可以确保Web页面正确显示,文件正确下载等。本文将详细介绍PHP中如何使用header函数...
$ npm install content-type API var contentType = require ( 'content-type' ) contentType.parse(字符串) var obj = contentType . parse ( 'image/svg+xml; charset=utf-8' ) 解析Content-Type标头。 这将...
去取内容类型 解析Content-Type标头并向请求和响应对象添加访问器安装 npm install --save go-fetch-content-type用法 var HttpClient = require('go-fetch');var contentType = require('go-fetch-content-type');...
总的来说,`content-type-mime`这样的前端开源库为开发者提供了一种标准化和便捷的方式来处理文件的MIME类型,提高了代码的可读性和可维护性,同时也降低了跨平台和跨浏览器兼容性问题的风险。理解和熟练使用这类库...
本篇文章将深入探讨`Content-Type`的规范及其在不同数据类型中的应用。 `Content-Type`由两部分组成:`type`和`subtype`,例如`text/html`。`type`通常表示数据的大类别,而`subtype`则更具体地描述了数据的格式。...
前端同学需要Content-Type 字段返回,根据文件的类型不同返回不同的类型;还有就是直接打开一个下载链接,对于Chrome这样的浏览器其实支持自适应预览的效果。https://tool.oschina.net/commons/ 这里的链接中有好多...
对于特定请求类型,如POST请求,更改Content-Type字段是一个常见的操作,它用于指定客户端发送数据的格式。Content-Type表明了请求数据的MIME类型(Multipurpose Internet Mail Extensions,多用途互联网邮件扩展...
缓存内容类型 ...npm i cache-content-type 用法 const getType = require ( 'cache-content-type' ) ; const contentType = getType ( 'html' ) ; assert ( contentType === 'text/html; charset=utf-8' ) ;
在Web开发中,特别是使用Spring MVC框架时,正确设置Content-Type对于处理客户端与服务器之间的数据交互至关重要。本文将深入探讨Content-Type的概念,常见的类型以及在Spring MVC中的应用。 Content-Type全称为...