Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Bandit.HTTP1.Adapter.inform/3 return value (#268)
* Fix Bandit.HTTP1.Adapter.inform/3 return value Per https://hexdocs.pm/plug/Plug.Conn.Adapter.html#c:inform/3, the callback should return: :ok | {:error, :not_supported} The way Plug.Conn.inform! is implemented at the moment, https://github.com/elixir-plug/plug/blob/v1.15.2/lib/plug/conn.ex#L1335, it looked like Bandit did _not_ implement inform but it sure does! * Update
- Loading branch information