Commit Graph

62 Commits

Author SHA1 Message Date
Peter Dave Hello 7fc663f09f No need to retrieve/select server info for mini 2015-09-22 15:28:41 +08:00
Matt Martz 7b09d8759f Bumping to 0.3.4 2015-09-21 11:37:50 -05:00
Matt Martz 25d845362c 2015 2015-09-21 11:37:32 -05:00
Matt Martz 4b9662e0b3 Bump to 0.3.3 2015-09-21 11:26:54 -05:00
Matt Martz 0e6b85d4d5 printf requires a tuple 2015-08-19 11:36:44 -05:00
Matt Martz 6ab5f27300 Add server list URLs without -static also. Fixes #167 2015-08-19 11:35:13 -05:00
Matt Martz 514b310484 Fix missing space 2015-05-21 14:31:05 -05:00
Matt Martz 1e44e9e2f1 Always encode server info 2015-05-17 19:50:05 -05:00
Matt Martz 51d0d88b96 Bump to 0.3.3b 2015-05-15 10:03:10 -05:00
Matt Martz 47c17d4a49 Just use the global instead of calling the function again 2015-05-13 11:35:01 -05:00
Matt Martz d1be67be48 Attempt a Mozilla/5.0 compatible user-agent string 2015-04-20 09:45:02 -05:00
Matt Martz 075cfda9cf Default to http, add --secure to specify use of https 2015-04-15 16:51:08 -05:00
Matt Martz 3c04dfefd3 Switch back to http 2015-04-15 08:48:22 -05:00
Matt Martz ffd2c7f963 Add some debugging for failed http requests using catch_request 2015-03-25 09:57:00 -05:00
Matt Martz aef4a78831 missing httplib/http.client classes 2015-03-25 09:45:01 -05:00
Matt Martz 72da41e4fc fix ups for pep8 1.6 changes 2015-02-26 11:06:42 -06:00
Matt Martz 790720b33a Bump to 0.3.2 2015-02-26 10:35:55 -06:00
Matt Martz 7383ad97af Use HTTPS URLs where possible 2015-02-26 10:25:33 -06:00
Matt Martz 3cc06168f5 Don't continu elooping if the request is successful 2015-02-26 10:25:11 -06:00
Matt Martz 3ee45cace8 Better handling of HTTP exceptions, and loop through server list URLs. See #86 2015-01-16 16:06:27 -06:00
Matt Martz b0e1e58a0b s/bytes/byte/ and s/bits/bit/. Fixes #89 2014-09-02 15:06:14 -05:00
Matt Martz 60c3ec2a5e Send custom User-Agent with all http requests. See #86 2014-08-20 13:12:30 -05:00
Matt Martz 65c85a9b15 Add timeout argument 2014-08-20 13:11:30 -05:00
Matt Martz 795bc51da4 Bump version to 0.3.1 2014-08-05 12:56:05 -05:00
Matt Martz 6c8dd05872 Make sure to also catch socket.error. Fixes #87 2014-07-29 17:14:41 -05:00
Matt Martz 759ef15636 Seems some people get parser errors from c.speedtest.net, use www instead. Fixes #86 2014-07-25 08:56:23 -05:00
Matt Martz f907418e6e Bumping version to 0.3.0 2014-06-27 19:37:02 -05:00
Matt Martz fe93e9ed75 Reorder some imports 2014-06-27 19:30:22 -05:00
Matt Martz cea45762ca Some people may be relying on matching Ping, don't change this yet 2014-06-27 19:27:21 -05:00
Matt Martz 328b851a07 Merge pull request #79 from McBochi/devel
Use timeit instead of time to prevent inconsistencies in the time module with various operating systems.
2014-06-25 12:18:48 -05:00
McBochi ec21971a10 Fixes sivel/speedtest-cli#76 2014-06-25 18:26:14 +02:00
Matt Martz 3558b22de1 If we got bogus XML that can't be parsed, provide a better error message instead of a trace. Fixes #77 2014-06-25 11:06:42 -05:00
Matt Martz c0cd0d1666 Prevent a redirect and use the final URL 2014-06-25 11:06:05 -05:00
Matt Martz c1b9a0db0a Switch to httplib/http.client to allow for better timing of latency, results may be slightly higher than previous, but more reliable 2014-05-27 09:30:39 -05:00
Matt Martz f1647f2c9e Bump version to 0.2.7 2014-04-23 11:52:57 -05:00
Matt Martz 8d1cf7ac1e Bump version to 0.2.6 2014-04-23 10:22:22 -05:00
Matt Martz 23fba2520a When using --mini and no extension is found, try all of the standard upload extensions. Fixes #62 2014-04-17 16:13:55 -05:00
Matt Martz e6913368ef Support output in bytes using the --bytes argument 2014-02-26 07:34:11 -06:00
Matt Martz 2da8a26038 Bump version to 0.2.5 2014-02-17 20:16:24 -06:00
Matt Martz 6d777db198 Also catch URLError when trying to fetch latency.txt. Fixes #41 2013-12-05 13:37:56 -06:00
Matt Martz 756f04da76 Bumping version for release 2013-12-03 12:59:48 -06:00
Matt Martz 890a3edb7e Fix join issue with python3 2013-12-03 12:57:17 -06:00
Matt Martz b827ad83c5 Bump version for upcoming release 2013-12-02 13:17:27 -06:00
Matt Martz 1a0e0b9a9d Merge branch 'etree' into working 2013-12-02 13:05:43 -06:00
Matt Martz e9405e370e Encode output when necessary. Fixes #30 2013-12-02 12:59:56 -06:00
Matt Martz 43799431ba Improve XML retrieval and parsing for newer versions of python 2013-12-02 10:13:41 -06:00
Matt Martz a4b8a74641 Add some docstrings and comments 2013-11-18 12:11:07 -06:00
Matt Martz 93682d73ca Pre-register our globals 2013-11-18 12:02:30 -06:00
Matt Martz d26cf87093 Add functionality to bind to a specific IP address. Fixes #36 2013-11-11 10:04:32 -06:00
Matt Martz 79aeabe4e7 Handle 404 for latency.txt requests, Fixes #27 2013-11-04 16:00:33 -06:00