Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,14 @@ Will contain a `json` property in the response/output.
}
}

## No newlines

You can disable new lines in the log output by setting the environment variable `LOG_WITHOUT_NEWLINE`. For example,

```bash
docker run -e LOG_WITHOUT_NEWLINE=true -p 8080:8080 -p 8443:8443 --rm -t mendhak/http-https-echo:28
```

## Send an empty response

You can disable the JSON output in the response by setting the environment variable `ECHO_BACK_TO_CLIENT`. For example,
Expand Down Expand Up @@ -281,4 +289,4 @@ To create a new image on Docker Hub, I need to create a tag and push it.

## Changelog

See the [changelog](CHANGELOG.md)
See the [changelog](CHANGELOG.md)