From 57902d31b5ad1e381b46d61b315add749a2ff926 Mon Sep 17 00:00:00 2001 From: Luciano Ramalho Date: Wed, 15 Apr 2015 05:49:41 -0300 Subject: [PATCH] update from Atlas --- 17-futures/countries/README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/17-futures/countries/README.rst b/17-futures/countries/README.rst index 9ab1190..e4f2c6f 100644 --- a/17-futures/countries/README.rst +++ b/17-futures/countries/README.rst @@ -2,7 +2,7 @@ Setting up Nginx and Vaurien ============================ -This text explains how to configure Nginx and Vaurien to test HTTP client code while avoiding network traffic and introducing simulated delays and errors. This setup is necessary if you want to experiment with the image download examples in chapters 17 and 18 of Fluent Python. +This text explains how to configure Nginx and Vaurien to test HTTP client code while avoiding network traffic and introducing simulated delays and errors. This setup is necessary if you want to experiment with the ``flags2*.py`` image download examples in this directory -- covered in chapters 17 and 18 of Fluent Python. Overview @@ -12,9 +12,9 @@ The flag download examples are designed to compare the performance of different For this setup I chose Nginx as the HTTP server because it is very fast and easy to configure, and the Vaurien proxy because it was designed by Mozilla to introduce delays and network errors for testing Web services. -The archive ``countries/flags.zip``, contains a directory ``flags/`` with 194 subdirectories, each containing a ``.gif`` image and a ``metadata.json`` file. These are public-domain images copied from the `CIA World Fact Book `_. +The archive ``flags.zip``, contains a directory ``flags/`` with 194 subdirectories, each containing a ``.gif`` image and a ``metadata.json`` file. These are public-domain images copied from the `CIA World Fact Book `_. -Once these files are unpacked to the ``flags/`` directory and Nginx is configured, you can experiment with the ``flags*.py`` examples without hitting the network. +Once these files are unpacked to the ``flags/`` directory and Nginx is configured, you can experiment with the ``flags2*.py`` examples without hitting the network. Procedure