examples/upload/upload.rb in async-http-0.48.2 vs examples/upload/upload.rb in async-http-0.49.0
- old
+ new
@@ -2,10 +2,10 @@
require 'async'
require 'async/http/body/file'
require 'async/http/internet'
-Async.run do
+Async do
internet = Async::HTTP::Internet.new
headers = [
['accept', 'text/plain'],
]