首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

JSON 响应最基准的 HTTP 头

2012-08-30 
JSON 响应最标准的 HTTP 头header( Content-Type: application/json )header( Pragma: no-cache )he

JSON 响应最标准的 HTTP 头

header( 'Content-Type: application/json' );header( 'Pragma: no-cache' );header( 'Cache-Control: no-cache, no-store, max-age=0' );header( 'Expires: 1L' );



取自 spring 框架中的
MappingJacksonView

热点排行