summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-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');
     }
 }