diff --git a/lib/faraday/adapter/net_http.rb b/lib/faraday/adapter/net_http.rb
index <HASH>..<HASH> 100644
--- a/lib/faraday/adapter/net_http.rb
+++ b/lib/faraday/adapter/net_http.rb
@@ -4,6 +4,7 @@ rescue LoadError
   warn "Warning: no such file to load -- net/https. Make sure openssl is installed if you want ssl support"
   require 'net/http'
 end
+require 'zlib'
 
 module Faraday
   class Adapter
Require zlib for Ruby <I>

In Ruby <I>, zlib is required by net/http but this is not the case in
Ruby <I>, causing a NameError (uninitialized constant
Faraday::Adapter::NetHttp::Zlib).