source: mod_gnutls/test/tests/26_redirect_HTTP_to_HTTPS/test.yml @ dda0f4a

proxy-ticket
Last change on this file since dda0f4a was dda0f4a, checked in by Fiona Klute <fiona.klute@…>, 5 months ago

Replace comments in test scripts with connection descriptions

  • Property mode set to 100644
File size: 813 bytes
Line 
1- !connection
2  description: >-
3    Send a plain HTTP request, mod_rewrite must recognize the
4    unencrypted connection using "%{HTTPS}" and redirect to HTTPS,
5    without otherwise changing the URL.
6  transport: plain
7  host: '${TEST_HOST}'
8  port: '${TEST_HTTP_PORT}'
9  actions:
10    - !request
11      path: /status?auto
12      expect:
13        status: 301
14        headers:
15          Location: 'https://${TEST_HOST}:${TEST_PORT}/status?auto'
16        body:
17          contains: 'Moved Permanently'
18
19- !connection
20  description: 'Check that the redirection target works'
21  host: '${TEST_HOST}'
22  port: '${TEST_PORT}'
23  gnutls_params:
24    - x509cafile=authority/x509.pem
25  actions:
26    - !request
27      path: /status?auto
28      expect:
29        status: 200
30        body:
31          contains: 'Current TLS session: (TLS'
Note: See TracBrowser for help on using the repository browser.