🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.javascript
Article #39399

Re: Odświeżanie pobieranego pliku XML - problem

#39399
From: szomiz
Date: Wed, 12 Apr 2006 13:17
16 lines
1635 bytes
Użytkownik "camel" <g5@focusimages.gotdns.com> napisał w wiadomości
news:e1imr4$et9$1@inews.gazeta.pl...
> Możeszy wymusić pobranie przy pomocy czegoś takiego jak:
>
>  http_request.open("GET", "plik.xml");
>  http_request.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000
> 00:00:00 GMT");
>  http_request.send(null);
>
> poeksperymentuj waść

Oj, oj, oj. Serwer nie musi zrozumiec naglowka. Zreszta przegladarki same z
siebie nie laduja tego do cache. Serwer im na to pozwala (tego nie
zabrania)...

url+='?'+(new Date()).getTime()
Technical Details
Message-ID: <e1iuha$48p$1@213.17.239.226>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.internetia.pl!not-for-mail
References: <0bd5.000000a2.443cd3ae@newsgate.onet.pl> <e1imr4$et9$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.internetia.pl!not-for-mail
From: "szomiz" <szomiz@kocha.dostawac.reklamy.przez.net>
Newsgroups: pl.comp.lang.javascript
Subject: Re: Odświeżanie pobieranego pliku XML - problem
Date: Wed, 12 Apr 2006 15:17:43 +0200
Organization: Netia Telekom S.A.
Lines: 19
Message-ID: <e1iuha$48p$1@213.17.239.226>
References: <0bd5.000000a2.443cd3ae@newsgate.onet.pl> <e1imr4$et9$1@inews.gazeta.pl>
Reply-To: "szomiz" <oszolomiz<at>poczta.onet.pl>
NNTP-Posting-Host: 213.17.239.226
X-Trace: nefryt.internetia.pl 1144847725 4377 213.17.239.226 (12 Apr 2006 13:15:25 GMT)
X-Complaints-To: abuse@inetia.pl
NNTP-Posting-Date: Wed, 12 Apr 2006 13:15:25 +0000 (UTC)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
X-Tech-Contact: usenet@internetia.pl
X-Newsreader: Microsoft Outlook Express 6.00.2800.1506
X-Priority: 3
X-Server-Info: http://www.internetia.pl/news/
X-MSMail-Priority: Normal
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit