flyson
flyso****@users*****
2005年 11月 6日 (日) 21:23:20 JST
Index: bbs2chreader/content/bbs2chreader/board-rss.js diff -u bbs2chreader/content/bbs2chreader/board-rss.js:1.10 bbs2chreader/content/bbs2chreader/board-rss.js:1.11 --- bbs2chreader/content/bbs2chreader/board-rss.js:1.10 Sun Nov 6 21:18:29 2005 +++ bbs2chreader/content/bbs2chreader/board-rss.js Sun Nov 6 21:23:20 2005 @@ -152,27 +152,9 @@ var httpStatus = aRequest.responseStatus; this._bInputStream.close(); - switch(httpStatus){ - case 200: // ÊíGET OK - case 206: // ·ªGET OK - break; - case 302: // DAT¿ - this.requestRespond("DAT DOWNED"); - this.requestEnd(); - return; - case 304: // ¢XV - this.requestRespond("NOT MODIFIED"); - this.requestEnd(); - return; - default: // HTTP G[ - this.requestRespond("ERROR HTTP STATUS : " + httpStatus); - this.requestEnd(); - return; - } - var availableData = this._data.join(); this._data = null; - if(availableData){ + if(availableData && httpStatus == 200){ this._bbs2chService.writeFile(this.boardItems.subjectFile.path, availableData, false); } this.RespondRSS();