OSDN Git Service

したらばJBBS用の過去ログチェックのコード追加
authorh677 <h677>
Mon, 6 Sep 2004 16:41:17 +0000 (16:41 +0000)
committerh677 <h677>
Mon, 6 Sep 2004 16:41:17 +0000 (16:41 +0000)
ExternalBoardPlugInMain.pas

index 02a520b..4a40d6c 100644 (file)
@@ -270,7 +270,11 @@ begin
                                Result := socket.ResponseCode;
                                if (Length( content ) = 0) and (Result = 206) then
                                        Result := 304;
-
+                               if ( AnsiPos('http://jbbs.livedoor.com/', inURL) > 0 ) and (Result = 200) then begin
+                                       if( AnsiPos('STORAGE IN', socket.Response.RawHeaders.Text) > 0 ) then begin
+                                               Result := 302;
+                                       end;
+                               end;
                                outResultData := CreateResultString( content );
                        except
                                on E: EIdSocketError do begin