590c6f48bd
Adds 5 test methods (7 test cases) for the file handler: GET existing file, GET nonexistent file, GET index.html, PUT upload, PUT without permission, and auth (no-auth-401, with-auth-success). Includes test data files and server YAML configs under tests/e2e/testdata/file/.
10 lines
137 B
YAML
10 lines
137 B
YAML
services:
|
|
- name: file-server
|
|
addr: :8080
|
|
handler:
|
|
type: file
|
|
metadata:
|
|
file.dir: /srv/files
|
|
listener:
|
|
type: tcp
|