Changeset 221
- Timestamp:
- 03/07/07 17:24:46 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeyclient/branches/exp/jpuchalski-active_content/lib/HoneyClient/Agent/Driver/Browser.pm
r218 r221 989 989 my $base = $response->base; 990 990 my $content = $response->content; 991 992 # TODO: Flash content type testing.993 # XXX: Clean this up.994 991 my $type = $response->header('Content-Type'); 995 print "Content-Type: " . $type . "\n";996 print "Base: " . $base . "\n";997 992 998 993 # Get the current time. … … 1007 1002 if ($type eq "application/x-shockwave-flash") { 1008 1003 1009 # TODO:Save content to a temp file on disk.1004 # Save content to a temp file on disk. 1010 1005 my $tempFile = new File::Temp(SUFFIX => '.swf'); 1011 1006 print $tempFile $content; … … 1016 1011 base_url => $base, 1017 1012 ); 1013 1014 # TODO: Check to make sure that temp files are getting deleted properly 1015 # (when normal conditions apply). 1018 1016 1019 1017 # Assume that all other content types are HTML-based.
