Author: poeml Date: Wed Jan 20 19:22:01 2010 New Revision: 7942 URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=7942&view=rev Log: docs/installation: add a few examples for testing with cURL Modified: trunk/docs/installation/source.rst Modified: trunk/docs/installation/source.rst URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/docs/installation/source.rst?rev=7942&r1=7941&r2=7942&view=diff ============================================================================== --- trunk/docs/installation/source.rst (original) +++ trunk/docs/installation/source.rst Wed Jan 20 19:22:01 2010 _at_@ -315,8 +315,25 @@ TODO: describe how to test that the install was successful - (When testing, consider any excludes that you configured, and which may - confuse you.) + (When testing, consider any excludes that you configured, and which might + introduce confusion.) + +* Many HTTP clients can be used for testing, but `cURL`_ is a most helpful tool + for that. Here are some examples. + + Showy the HTTP response code and the Location header pointing to the new location:: + + curl -sI <url> + + Display the metalink:: + + curl -s <url>.metalink + + Show a HTML list with the available mirrors:: + + curl -s <url>?mirrorlist + +.. _`cURL`: http://curl.haxx.se/ TODO: describe a decent logging setup _______________________________________________ mirrorbrain-commits mailing list Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/ Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on Wed Jan 20 2010 - 18:22:05 GMT
This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT