[Bbs2ch-cvs 49] CVS update: bbs2chreader/content/bbs2chreader

Back to archive index

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: // –¢XV
-				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();


bbs2ch-cvs メーリングリストの案内
Back to archive index