Skip to content

Commit

Permalink
Merge branch 'master' into 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
teamon committed Feb 16, 2018
2 parents 256cd3b + ab685a4 commit 2d6ae2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tesla/middleware/compression.ex
Expand Up @@ -4,7 +4,7 @@ defmodule Tesla.Middleware.Compression do
@moduledoc """
Compress requests and decompress responses.
Supports "gizp" and "deflate" encodings using erlang's built-in `:zlib` module.
Supports "gzip" and "deflate" encodings using erlang's built-in `:zlib` module.
### Example usage
```
Expand All @@ -16,7 +16,7 @@ defmodule Tesla.Middleware.Compression do
```
### Options
- `:format` - request compression format, `"gzip"` (default) or `"defalte"`
- `:format` - request compression format, `"gzip"` (default) or `"deflate"`
"""

def call(env, next, opts) do
Expand Down

0 comments on commit 2d6ae2f

Please sign in to comment.