Fix a bunch of bugs in $.ajax
Fix a bunch of bugs in $.ajax

Do not set the content type unless a form has been submitted.

allow $.ajax(url) to work (for promise/a+ calls)

Fix bug with response headers always being text/html b/c of contentType always being set.

UmarMughal/appframework,shichuanwang/appframework,haroldoramirez/appframework,FortschrittApps/appframework,seekchange/appframework,ishanladhani786/appframework,zhukaijun/appframework,boytek/appframework,hnney/appframework,macong/appframework,bullines/appframework,9-9-9/appframework,joeey1984ad/appframework,mouhammad-zd/appframework,kschuster/appframework,topishka/appframework,areeftee/appframework,szdbb1102/appframework,mev9669/appframework,PuterGIrl/appframework,mkseva/appframework,zhukaijun/appframework,topishka/appframework,ahmedali5530/appframework,Julienedies/appframework,whlcly/appframework,Authorlove/appframework,lesion/appframework,b-cuts/appframework,docnoe/appframework,gravity-addiction/appframework,liuzhentao/appframework,lse123/appframework,rubenvp8510/appframework,esironal/appframework,ScalaSoft/appframework,Basildcruz/appframework,iamxiaoma/appframework,fjzdjd/appframework,svdoever/appframework,WilliamRen/appframework,zipang/appframework,mkseva/appframework,WilliamRen/appframework,PuterGIrl/appframework,maxid/appframework,anysisze/appframework,jailecoeu/appframework,vincent1988/appframework,eagle-one78/appframework,htsnet/appframework,xujianrj/appframework,krisrak/appframework,327326724/appframework,b-cuts/appframework,patrick-lake/appframework,FortschrittApps/appframework,jiushiliu/appframework,qq40660/appframework,donvan/appframework,01org/appframework,talha7o/appframework,rickel/appframework,fjzdjd/appframework,KeithLee208/appframework,mastergizmo/appframework,wizza-smile/appframework,ilaorou/appframework,heyxiaoling/appframework,HappyYang/appframework,ScalaSoft/appframework,zhengcq315/appframework,LB4027221/appframework,KeithLee208/appframework,iamshenhua/appframework,JackieWei/appframework,handong890/appframework,wl-pro/appframework,pranay06b/appframework,Rockfogel/appframework,maxid/appframework,REALDROOPY/appframework,donvan/appframework,liuzhentao/appframework,jadulled/appframework,xujianrj/appframework,mouhammad-zd/appframework,hellovip/appframework,weiwei03/appframework,huyongliang/appframework,9-9-9/appframework,Harryyan/appframework,rockanita/appframework,RobertoMalatesta/appframework,HandMobile/appframework,Hammer2014/appframework,Allan0815/appframework,ImCodeMonkey/appframework,Rockfogel/appframework,landabaso/appframework,iamxiaoma/appframework,hozwe/appframework,HappyYang/appframework,VIP000/appframework,vinivinilos/appframework,ssqstone/appframework,yuanxin1988/appframework,lpftobetheone/appframework,naninha/appframework,ramitallal/appframework,VIP000/appframework,EEG5Black/appframework,JackieWei/appframework,mastergizmo/appframework,intel-alex/appframework,Docworld/appframework,bdusell/appframework,huq2015/appframework,Connectlegendary/appframework,joenjuki/appframework,sihai/appframework,ezc/appframework,handong890/appframework,flowbywind/appframework,RedrockTeam/appframework,modulexcite/appframework,pranay06b/appframework,huyongliang/appframework,jiabier/appframework,leonlau81/appframework,dizzydriver/appframework,dnydoney/appframework,flowbywind/appframework,rockanita/appframework,szdbb1102/appframework,JPithy/appframework,hbspatil/appframework,mastrobardo/appframework,11com7/appframework2,mrliao/appframework,svdoever/appframework,leonlau81/appframework,docnoe/appframework,jiushiliu/appframework,JPithy/appframework,haroldoramirez/appframework,langowskiadam/appframework,gravity-addiction/appframework,leokt/appframework,kityandhero/appframework,areeftee/appframework,BurhanRahmani/appframework,ttym7993/appframework,ouyanghuangzheng/appframework,windyao/appframework,gavD/appframework,zcgao/appframework,Harryyan/appframework,ouyanghuangzheng/appframework,Kuziwa/appframework,eworthcms/appframework,SeekArt/appframework,zhuxj/appframework,ImCodeMonkey/appframework,nomadgit/appframework,leokt/appframework,xiongxiong109/appframework,anysisze/appframework,derk/appframework,vinivinilos/appframework,boytek/appframework,picsize/appframework,Allan0815/appframework,patrick-lake/appframework,duhaibo0404/appframework,chengyan1215/appframework,langowskiadam/appframework,randy-ran/appframework,gto999/appframework,derk/appframework,heyxiaoling/appframework,eliassun/appframework,chinakids/appframework,caox/appframework,xiongxiong109/appframework,fudaoji/appframework,nomadgit/appframework,vincent1988/appframework,busseyl/appframework,jailecoeu/appframework,dizzydriver/appframework,feilwang/appframework,yeahsj/appframework,cainianhua/appframework,macong/appframework,nosun/appframework,yubingzhong/appframework,minatocou/appframework,larrychan/appframework,ishanladhani786/appframework,qicrosoft/appframework,gch35pty/appframework,iHaD/appframework,eagle-one78/appframework,hnney/appframework,naninha/appframework,Docworld/appframework,minatocou/appframework,huawin03/appframework,pengting/appframework,joenjuki/appframework,327326724/appframework,Basildcruz/appframework,lesion/appframework,zhengcq315/appframework,eliassun/appframework,01org/appframework,kityandhero/appframework,dongguangming/appframework,busseyl/appframework,zamelsky/appframework,leonet/appframework,sbignell/appframework,qq40660/appframework,intel-alex/appframework,Connectlegendary/appframework,Philzen/appframework,windyao/appframework,yubingzhong/appframework,modulexcite/appframework,huq2015/appframework,boolie/appframework,HandMobile/appframework,UmarMughal/appframework,dongguangming/appframework,3Gen-ITDev/appframework,webin/appframework,ezc/appframework,larrychan/appframework,hbspatil/appframework,webin/appframework,madebysoren/appframework,esironal/appframework,elitelinux/appframework,zhaofeng555/appframework,yreme/appframework,jadulled/appframework,weiwei03/appframework,11com7/appframework2,joeey1984ad/appframework,dnydoney/appframework,landabaso/appframework,zhuxj/appframework,XIAOGUIGUI/appframework,Julienedies/appframework,seekchange/appframework,RobertoMalatesta/appframework,caox/appframework,Kuziwa/appframework,mrliao/appframework,feilwang/appframework,KehindeAyanleye/appframework,qinlicang/appframework,pengting/appframework