Skip to content

Commit

Permalink
add support for toxiproxy-haskell
Browse files Browse the repository at this point in the history
  • Loading branch information
jpittis committed Mar 4, 2018
1 parent fe6bf4f commit 8f0f101
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -82,6 +82,7 @@ development and CI environments.
* [toxiproxy-php-client](https://github.com/ihsw/toxiproxy-php-client)
* [toxiproxy-node-client](https://github.com/ihsw/toxiproxy-node-client)
* [toxiproxy-java](https://github.com/trekawek/toxiproxy-java)
* [toxiproxy-haskell](https://github.com/jpittis/toxiproxy-haskell)

## Example

Expand Down
2 changes: 1 addition & 1 deletion api.go
Expand Up @@ -382,7 +382,7 @@ func (server *ApiServer) ToxicDelete(response http.ResponseWriter, request *http
}

func (server *ApiServer) Version(response http.ResponseWriter, request *http.Request) {
response.Header().Set("Content-Type", "text/plain")
response.Header().Set("Content-Type", "text/plain;charset=utf-8")
_, err := response.Write([]byte(Version))
if err != nil {
logrus.Warn("Version: Failed to write response to client", err)
Expand Down

0 comments on commit 8f0f101

Please sign in to comment.