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

Back to archive index

flyson flyso****@users*****
2006年 2月 9日 (木) 22:23:22 JST


Index: bbs2chreader/content/bbs2chreader/httprequest.js
diff -u bbs2chreader/content/bbs2chreader/httprequest.js:1.6 bbs2chreader/content/bbs2chreader/httprequest.js:1.7
--- bbs2chreader/content/bbs2chreader/httprequest.js:1.6	Mon Feb 14 22:02:00 2005
+++ bbs2chreader/content/bbs2chreader/httprequest.js	Thu Feb  9 22:23:22 2006
@@ -158,9 +158,12 @@
 
 				// 差分GET
 			if(aRange && aModifiedSince){
-				this._channel.setRequestHeader("Accept-Encoding", "identity", false);
+				//this._channel.setRequestHeader("Accept-Encoding", "identity", false);
+				this._channel.setRequestHeader("Accept-Encoding", "", false);
 				this._channel.setRequestHeader("If-Modified-Since", aModifiedSince, false);
 				this._channel.setRequestHeader("Range", "bytes=" + aRange + "-", false);
+			}else{
+				this._channel.setRequestHeader("Accept-Encoding", "gzip", false);
 			}
 
 			this.clearData();


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