PDA

View Full Version : Ajax ??? URL ? HTTP ??????



extusr
21 Jan 2010, 12:09 AM
??????

?? Ext.Ajax.request ? Ajax ??????????
????????????? HTTP ???????????????????????
??????? URL ?????? Content-Type ?????????????

?????????????????

mashiki
21 Jan 2010, 3:23 PM
request?method?'HEAD'?????response??
?getResponseHeader
????
?getAllResponseHeaders
?????????????????



success: function(res, opts) {
alert('Content-Type: '+ res.getResponseHeader('Content-Type'));
}

extusr
25 Jan 2010, 11:55 PM
??????????????????
??????????????????

???????? getResponseHeader ??????????
??????????????

??????????????????