summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2011-07-22 16:19:50 +0200
committerfranck cuny <franck@lumberjaph.net>2011-07-26 13:21:02 +0200
commitfd9ea62ded1135f442437a0defb28f8710926eed (patch)
treeecfd913ece18ea6c2bac29ac74453f7d8d91228f
parentadd tests for oauth (diff)
downloadnet-http-spore-fd9ea62ded1135f442437a0defb28f8710926eed.tar.gz
scheme is stored in spore.url_scheme not spore.scheme
Signed-off-by: franck cuny <franck@lumberjaph.net>
-rw-r--r--lib/Net/HTTP/Spore/Request.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Net/HTTP/Spore/Request.pm b/lib/Net/HTTP/Spore/Request.pm
index 109e033..2cb5381 100644
--- a/lib/Net/HTTP/Spore/Request.pm
+++ b/lib/Net/HTTP/Spore/Request.pm
@@ -110,10 +110,10 @@ sub request_uri {
 sub scheme {
     my ($self, $value) = @_;
     if ($value) {
-        $self->set_to_env( 'spore.scheme', $value );
+        $self->set_to_env( 'spore.url_scheme', $value );
     }
     else {
-        return $self->get_from_env('spore.scheme');
+        return $self->get_from_env('spore.url_scheme');
     }
 }