Skip to content

Commit

Permalink
Merge pull request #288 from amclain/headers-spec
Browse files Browse the repository at this point in the history
Fix headers typespec
  • Loading branch information
edgurgel authored Sep 12, 2017
2 parents d863a99 + 6c16c92 commit 01533e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/httpoison/base.ex
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ defmodule HTTPoison.Base do
alias HTTPoison.AsyncResponse
alias HTTPoison.Error

@type headers :: [{binary, binary}] | %{binary => binary}
@type headers :: [{atom, binary}] | [{binary, binary}] | %{binary => binary}
@type body :: binary | {:form, [{atom, any}]} | {:file, binary}

defmacro __using__(_) do
Expand Down

0 comments on commit 01533e4

Please sign in to comment.