-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathconfig.yaml
More file actions
32 lines (31 loc) · 689 Bytes
/
Copy pathconfig.yaml
File metadata and controls
32 lines (31 loc) · 689 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Same as examples/basic-raw/basic-raw.yaml
type: "raw"
requests:
- request:
id: "1"
methods: ["GET", "POST"]
endpoint: "/"
response-type: "raw"
content-type: "text/html"
content:
|
<html>
<head>
<title>Hello</title>
</head>
<body>
<h1>Hello!</h1>
</body>
</html>
headers:
- "server: Akamai Resource Optimizer"
- "server-timing: cdn-cache; desc=HIT"
- request:
id: "default"
response-type: "file"
content-type: "text/html"
content: "404.html"
headers:
- "server: Akamai Resource Optimizer"
- "server-timing: cdn-cache; desc=HIT"
ignore: ["/favicon.ico"]