From 5e8e69a339e2865ba0967d0bdfc5ab311d2b6f61 Mon Sep 17 00:00:00 2001 From: Liang Tao Date: Sat, 8 Feb 2014 17:11:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E6=9C=80=E6=96=B0=E7=9A=84im?= =?UTF-8?q?ageInfo=E6=8E=A5=E5=8F=A3=E8=A7=84=E6=A0=BC=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/qiniu/rs/image.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/qiniu/rs/image.rb b/lib/qiniu/rs/image.rb index 63091b5..78e128e 100755 --- a/lib/qiniu/rs/image.rb +++ b/lib/qiniu/rs/image.rb @@ -7,12 +7,12 @@ module Qiniu include Utils def info(url) - Utils.http_request url + '/imageInfo', nil, {:method => :get} - end + Utils.http_request url + '?imageInfo', nil, {:method => :get} + end # info def exif(url) Utils.http_request url + '?exif', nil, {:method => :get} - end + end # exif def preivew_url(url, spec) url + '/imagePreview/' + spec.to_s