From 35661ebcbf1c4c6e82c32aec42f4727abf066501 Mon Sep 17 00:00:00 2001 From: Bai Long Date: Fri, 20 Jun 2014 21:12:21 +0800 Subject: [PATCH] Update config.rb --- lib/qiniu/config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/qiniu/config.rb b/lib/qiniu/config.rb index fd32a22..829bcd3 100755 --- a/lib/qiniu/config.rb +++ b/lib/qiniu/config.rb @@ -15,7 +15,7 @@ module Qiniu class << self DEFAULT_OPTIONS = { - :user_agent => 'QiniuRuby/' + Version.to_s + '('+RUBY_PLATFORM+')' + ' Ruby/'+ RUBY_VERSION, + :user_agent => 'QiniuRuby/' + Version.to_s + ' ('+RUBY_PLATFORM+')' + ' Ruby/'+ RUBY_VERSION, :method => :post, :content_type => 'application/x-www-form-urlencoded', :auth_url => "https://acc.qbox.me/oauth2/token",