Skip to content

Commit ff8577b

Browse files
committed
update readme
1 parent 7d6b98a commit ff8577b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/mock_s3_server/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ The server will read from ./{OperationName}/{Key}.json. The json file is formatt
2525
{
2626
"status": 200,
2727
"headers": {"Connection": "close"},
28+
"request_headers:" {"HeaderA": "ValueA"}
2829
"body": [
2930
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
3031
"",
@@ -40,6 +41,7 @@ The server will read from ./{OperationName}/{Key}.json. The json file is formatt
4041

4142
Where you can define the expected response status, header and response body. If the {Key}.json is not found from file system, it will load the `default.json`.
4243

44+
The server validates that all specified headers in the "request_headers" field are present in the incoming request. If any required header is missing, the request will fail. These headers will not be part of the Response headers.
4345
If the "delay" field is present, the response will be delayed by X seconds.
4446

4547
### GetObject Response

0 commit comments

Comments
 (0)