lib/em-http.rb in em-http-request-0.2.15 vs lib/em-http.rb in em-http-request-0.3.0
- old
+ new
@@ -1,20 +1,19 @@
-#--
-# Copyright (C)2008 Ilya Grigorik
-# You can redistribute this under the terms of the Ruby license
-# See file LICENSE for details
-#++
-
require 'eventmachine'
+require 'escape_utils'
+require 'addressable/uri'
+
+require 'base64'
require 'socket'
-require File.dirname(__FILE__) + '/http11_client'
-require File.dirname(__FILE__) + '/em_buffer'
+require 'http11_client'
+require 'em_buffer'
-require File.dirname(__FILE__) + '/em-http/core_ext/bytesize'
-
-require File.dirname(__FILE__) + '/em-http/client'
-require File.dirname(__FILE__) + '/em-http/multi'
-require File.dirname(__FILE__) + '/em-http/request'
-require File.dirname(__FILE__) + '/em-http/decoders'
-require File.dirname(__FILE__) + '/em-http/http_options'
-require File.dirname(__FILE__) + '/em-http/mock'
+require 'em-http/core_ext/bytesize'
+require 'em-http/http_header'
+require 'em-http/http_encoding'
+require 'em-http/http_options'
+require 'em-http/client'
+require 'em-http/multi'
+require 'em-http/request'
+require 'em-http/decoders'
+require 'em-http/mock'
\ No newline at end of file