so here is the code
case "kancolle":
FiddlerObject.log("kancolle start");
var inputPath = ** // ** is certain input path
var kanFiles:String[] = System.IO.Directory.GetFiles(inputPath, "*.saz");
for (var i:int = 0; i<kanFiles.Length; ++i) // just 1 file in fact
{
FiddlerObject.log("kanFiles: " + i);
var kanSessions:Session[] = Utilities.ReadSessionArchive(kanFiles[i], true);
for (var i1:int = 0; i1<kanSessions.Length; ++i1) // 23 sessions there
{
FiddlerObject.log("kanSessions: " + i1);
FiddlerObject.log(kanSessions[i].url);
}
}
break;
however the output is strange
kancolle start
kanFiles: 0
kanSessions: 0
www.urlForTheFirstSession.com // not a real url
kanSessions: 1
www.urlForTheFirstSession.com // still the same
.... // and continues
I know that this piece of code looks bad, and this is because the are made up together from several others. But I assumed it would work, and now I can't do anything about it.
p.s. if you notice any style problem, I am glad to listen
I'm not sure I understand what problem you're having. What part of your output is unexpected?
What do you see if you open the same .SAZ file in Fiddler itself?
If I had to guess, my guess would be that you took this capture of a HTTPS
site and you hadn't enabled HTTPS decryption. So all of your requests will be of the form CONNECT SECURESITE.COM HTTP/1.1
but you wouldn't see any of the actual GET
or POST
requests.