mirror of https://github.com/databricks/cli.git
25 lines
469 B
TOML
25 lines
469 B
TOML
LocalOnly = true
|
|
RecordRequests = true
|
|
|
|
[[Server]]
|
|
Pattern = "GET /custom/endpoint"
|
|
Response.Body = '''should not see this response, latter response takes precedence'''
|
|
|
|
[[Server]]
|
|
Pattern = "GET /custom/endpoint"
|
|
Response.Body = '''custom
|
|
---
|
|
response
|
|
'''
|
|
Response.StatusCode = 201
|
|
[Server.Response.Headers]
|
|
"X-Custom-Header" = ["hello"]
|
|
|
|
[[Repls]]
|
|
Old = 'Date: .*'
|
|
New = 'Date: (redacted)'
|
|
|
|
[[Repls]]
|
|
Old = 'Content-Length: [0-9]*'
|
|
New = 'Content-Length: (redacted)'
|