Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="UTF-8" Message-ID: <1995887.BCnZExLFZj@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Sat, 08 Sep 2012 09:48:48 +0200 User-Agent: KNode/4.4.11 Content-Transfer-Encoding: 8Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. <2913825.zHrt7aGx1u@PointedEars.de> Followup-To: comp.lang.javascript MIME-Version: 1.0 Lines: 40 NNTP-Posting-Date: 08 Sep 2012 09:48:48 CEST NNTP-Posting-Host: 145daf8b.newsspool1.arcor-online.net X-Trace: DXC=TXfak1c1Q^:TQL:hoD@>T?ic==]BZ:af>4Fo<]lROoR1nkgeX?EC@@0g^WmZX^PGj3DZm8W4\YJN`76:0>B;S^L0T:6 X-Complaints-To: usenet-abuse@arcor.de Xref: csiph.com comp.lang.javascript:15792 cezary.tomczyk@gmail.com wrote: ^^^^^^^^^^^^^^^^^^^^^^^^ > W dniu sobota, 8 września 2012 00:53:24 UTC+2 użytkownik Thomas > 'PointedEars' Lahn napisał: Will you *please* stop posting attribution novels? And get a real name. >> cezary.tomczyk@gmail.com wrote: >> >> if (request.status==200 && request.responseText!="") >> > [...] >> > >> > Is the status of the 304 should also be included here? >> >> If it would occur. So far, all XHR implementations handle caching and ^^ >> redirections transparently. > > So, if server will response with 304 header then XHR will return status > 200 or 304? 200, and the resource is retrieved from the cache. Why don't you try? > Because if all XHR implementations handle caching transparently then just > checking only status == 200 is not a good idea. Or I something missed. AFAIK, to say something is "transparent" to the user means the user does not need not be aware of it. For example, you use a "transparent (HTTP) proxy" without having to know it even exists. Please do not Cc: me. I am subscribed to the newsgroups I am posting to. And do not use Google Groups for posting, it is completely borken. PointedEars -- > If you get a bunch of authors […] that state the same "best practices" > in any programming language, then you can bet who is wrong or right... Not with javascript. Nonsense propagates like wildfire in this field. -- Richard Cornford, comp.lang.javascript, 2011-11-14