summaryrefslogtreecommitdiff
path: root/lib/custodian/protocoltest/http.rb
AgeCommit message (Collapse)Author
2015-03-09Removed trailing whitespace from the codeSteve Kemp
2015-03-09Whitespace fixups.Steve Kemp
These were all identified and suggested by rubocop.
2015-03-09Removed spaces inside parenthesis.Steve Kemp
2015-03-09Prefer single-quotes when you don't need interpolation.Steve Kemp
So "foo" is less good than 'foo'.
2015-03-09 Prefer single-quoted strings inside interpolations.Steve Kemp
2015-03-09Avoid redudent returns.Steve Kemp
The last expression of a method is the return value. So: def foo; false ; end Is the same as: def foo; return false; end
2015-03-09Don't use parenthesis aroudn conditions in an if.Steve Kemp
2015-03-09Do not use parentheses for method calls with no arguments.Steve Kemp
This is neater. Flagged by rubocop
2015-03-09Minor indentation fixup.Steve Kemp
2015-03-09Avoid redundent ".to_s" methods.Steve Kemp
These are not required if the argument is string already, or has a _to_s method which will be automatically invoked by magic.
2014-12-02Added host header override to errors in HTTP testJames Hannah
2014-10-13Added support for overriding the HTTP Host headerJames Hannah
2014-05-16Fixed numerous typos in the http libraryPatrick J Cherry
2014-05-16Updated http protocoltest to connect over both IPv4 and 6.Patrick J Cherry
2013-10-15 We now allow "with cache busting", and "without cache busting".Steve Kemp
2013-10-08 Attempt to avoid caching artifacts on all URL-testing bySteve Kemp
appending ?ctime=XX to HTTP/HTTPS-requests.
2013-05-15 Honour the global timeout period.Steve Kemp
The global configuration file, /etc/custodian/custodian.cfg, has a timeout=XX setting in it. Until now we've ignored it and used a fixed timeout of 20/30 seconds. Now we fully honour the specified value.
2013-04-23 Updated the parser to allow the test to specify whether HTTP-redirectsSteve Kemp
are followed. Added test-cases to match.
2013-01-14 fixed comments.Steve Kemp
2012-12-24 Added reference to missing URI libraryrelease-0.9-1Steve Kemp
2012-12-20 It is a bug for a test to have a protocol not matching theSteve Kemp
scheme of the URL. e.g. This is wrong: https://example.com/ must run http .. ("https" != "http").
2012-12-17 Ensure our test fails if the content doesn't matchSteve Kemp
2012-12-07 When reporting on failure-types the HTTP/HTTPS test is often reported ↵Steve Kemp
incorrectly. Fixed this now, based on the URL and added a test case.
2012-11-26 New releaserelease-0.3-2Steve Kemp
2012-11-26 Show failing lines.Steve Kemp
2012-11-24 Updated to max 10 redirections; and handle excessive redirections cleanly.Steve Kemp
2012-11-24 The target of the test, the URL, should be saved.Steve Kemp
2012-11-24 Alert if SSL-validation fails.Steve Kemp
2012-11-23 Return "false" rather than nil. Just for neatness.Steve Kemp
2012-11-23 Increase max-redirections to 5Steve Kemp
2012-11-23 Use the curb rubygemSteve Kemp
2012-11-23 Added simple implementation - no test cases yet, no real testing carried out.Steve Kemp
2012-11-23 Test that inverted() works for each protocol test we know about.Steve Kemp
2012-11-22 Parse the configuration file into arrays of jobs, via our test-factorySteve Kemp
2012-11-22 Whitespace updates.Steve Kemp
2012-11-22 Moved tests into a namespace.Steve Kemp
2012-11-22 Updated to stub out more code.Steve Kemp
2012-11-22 Updated DNSSteve Kemp
2012-11-22 Added stub code.Steve Kemp
2012-11-21 Added. todo.Steve Kemp