diff options
author | franck cuny <franck@lumberjaph.net> | 2011-07-22 16:19:50 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2011-07-26 13:21:02 +0200 |
commit | fd9ea62ded1135f442437a0defb28f8710926eed (patch) | |
tree | ecfd913ece18ea6c2bac29ac74453f7d8d91228f | |
parent | add tests for oauth (diff) | |
download | net-http-spore-fd9ea62ded1135f442437a0defb28f8710926eed.tar.gz |
scheme is stored in spore.url_scheme not spore.scheme
Signed-off-by: franck cuny <franck@lumberjaph.net>
Diffstat (limited to '')
-rw-r--r-- | lib/Net/HTTP/Spore/Request.pm | 4 |
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'); } } |