Initial directory structure.

git-svn-id: http://web-page-replay.googlecode.com/svn/trunk@1 164481a5-15cb-f69f-4b93-856c5b7754c5
Implement fake DNS server and ability to programmatically point to it on OSX. HTTP server stub is in place.

git-svn-id: http://web-page-replay.googlecode.com/svn/trunk@2 164481a5-15cb-f69f-4b93-856c5b7754c5
Add ability to perform DNS lookups while DNS is mocked out

git-svn-id: http://web-page-replay.googlecode.com/svn/trunk@3 164481a5-15cb-f69f-4b93-856c5b7754c5
Switch from getopt to optparse, introduce HTTPArchive/URLArchive, and implement more of HTTPProxy

git-svn-id: http://web-page-replay.googlecode.com/svn/trunk@4 164481a5-15cb-f69f-4b93-856c5b7754c5
Add Apache license

git-svn-id: http://web-page-replay.googlecode.com/svn/trunk@5 164481a5-15cb-f69f-4b93-856c5b7754c5
Use pickling for loading and dumping HTTPArchives

git-svn-id: http://web-page-replay.googlecode.com/svn/trunk@6 164481a5-15cb-f69f-4b93-856c5b7754c5
Minor tweaks.

git-svn-id: http://web-page-replay.googlecode.com/svn/trunk@7 164481a5-15cb-f69f-4b93-856c5b7754c5
Add Linux support for DNS settings.
Add beginnings of resource retrieval.
Restore DNS after setup errors.
Rename variables is HTTP and DNS to Http and Dns.
- For example, DNSProxyServer to DnsProxyServer



git-svn-id: http://web-page-replay.googlecode.com/svn/trunk@8 164481a5-15cb-f69f-4b93-856c5b7754c5
Add dnspython to do real lookups when fake DNS is in-place.

git-svn-id: http://web-page-replay.googlecode.com/svn/trunk@9 164481a5-15cb-f69f-4b93-856c5b7754c5
Close to basic recording working on Linux.
- Makes HTTP request, but httpproxy does not give responses back correctly.
- Use dnspython to do DNS queries.
  + Made a fancy third_party/__init__.py so import can be
    in the same format as if you installed the library:
       import third_party
       import dns.resolver
    This is important because the dns modules do their own
    imports.

Mac recording seems to get stuck in an infinite loop. :-(

Move dns_lookups to platformsettings.
- Seems like a good place because the lookups can have easy access
  to the default nameservers.

Add some debugging statements.



git-svn-id: http://web-page-replay.googlecode.com/svn/trunk@10 164481a5-15cb-f69f-4b93-856c5b7754c5
Allow third_party modules to be imported at the top-level.

  import third_party
  import dns



git-svn-id: http://web-page-replay.googlecode.com/svn/trunk@11 164481a5-15cb-f69f-4b93-856c5b7754c5
Get record mode working on OSX. Change all prints to logs.

git-svn-id: http://web-page-replay.googlecode.com/svn/trunk@12 164481a5-15cb-f69f-4b93-856c5b7754c5
Basic replay working

git-svn-id: http://web-page-replay.googlecode.com/svn/trunk@13 164481a5-15cb-f69f-4b93-856c5b7754c5
A bit of refactoring/cleanup

git-svn-id: http://web-page-replay.googlecode.com/svn/trunk@14 164481a5-15cb-f69f-4b93-856c5b7754c5
Change platform settings from get/set to set/restore interface.

git-svn-id: http://web-page-replay.googlecode.com/svn/trunk@15 164481a5-15cb-f69f-4b93-856c5b7754c5
Implement traffic shaping on OSX. Clean up main loop a bit.

git-svn-id: http://web-page-replay.googlecode.com/svn/trunk@16 164481a5-15cb-f69f-4b93-856c5b7754c5
Start of code to inject script which makes Date() and Math.random() deterministic, but doesn't handle gzip.

git-svn-id: http://web-page-replay.googlecode.com/svn/trunk@17 164481a5-15cb-f69f-4b93-856c5b7754c5
Get script injection working for gzipped response. Need to support chunked.

git-svn-id: http://web-page-replay.googlecode.com/svn/trunk@18 164481a5-15cb-f69f-4b93-856c5b7754c5
Support recording chunked response (by stripping chunking). Should eventually preserve chunking. Also support HEAD method.

git-svn-id: http://web-page-replay.googlecode.com/svn/trunk@19 164481a5-15cb-f69f-4b93-856c5b7754c5
Choose the proper service to change DNS on OSX

git-svn-id: http://web-page-replay.googlecode.com/svn/trunk@20 164481a5-15cb-f69f-4b93-856c5b7754c5