asyncioproxy-ticket
Last change
on this file since 6fa6095 was
6fa6095,
checked in by Fiona Klute <fiona.klute@…>, 2 years ago
|
Partial post-handshake auth support
Needs proper error handling, especially for
GNUTLS_E_GOT_APPLICATION_DATA, which can randomly happen with requests
containing a body.
|
-
Property mode set to
100644
|
File size:
697 bytes
|
Line | |
---|
1 | !connection |
---|
2 | description: >- |
---|
3 | There's no authentication needed on handshake, but the server will |
---|
4 | require reauth to serve the second request. |
---|
5 | gnutls_params: |
---|
6 | - x509cafile=authority/x509.pem |
---|
7 | - x509keyfile=authority/client/secret.key |
---|
8 | - x509certfile=authority/client/x509.pem |
---|
9 | - post-handshake-auth |
---|
10 | actions: |
---|
11 | - !request |
---|
12 | path: /test.txt |
---|
13 | expect: |
---|
14 | status: 200 |
---|
15 | body: |
---|
16 | exactly: | |
---|
17 | test |
---|
18 | - !request |
---|
19 | method: GET |
---|
20 | path: /secret/test.txt |
---|
21 | expect: |
---|
22 | status: 200 |
---|
23 | body: |
---|
24 | exactly: | |
---|
25 | top secret |
---|
26 | - !request |
---|
27 | method: GET |
---|
28 | path: /secret/test.txt |
---|
29 | expect: |
---|
30 | status: 200 |
---|
31 | body: |
---|
32 | exactly: | |
---|
33 | top secret |
---|
Note: See
TracBrowser
for help on using the repository browser.