summaryrefslogtreecommitdiffstats
path: root/lib/puppet/network/http/webrick
diff options
context:
space:
mode:
authorRick Bradley <rick@rickbradley.com>2007-10-23 11:12:22 -0500
committerRick Bradley <rick@rickbradley.com>2007-10-23 11:12:22 -0500
commitd28a9041039860beb9e19da267bbad40ecebf8f1 (patch)
tree14eb80238e329bf741d8895d7efe9cd5065a0ec6 /lib/puppet/network/http/webrick
parent7def1eaa0e6e559ed70f260bf7b42d8e84d3740b (diff)
downloadpuppet-d28a9041039860beb9e19da267bbad40ecebf8f1.tar.gz
puppet-d28a9041039860beb9e19da267bbad40ecebf8f1.tar.xz
puppet-d28a9041039860beb9e19da267bbad40ecebf8f1.zip
REST handlers now properly returning 200 status on success.
Diffstat (limited to 'lib/puppet/network/http/webrick')
-rw-r--r--lib/puppet/network/http/webrick/rest.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/network/http/webrick/rest.rb b/lib/puppet/network/http/webrick/rest.rb
index 1475ed781..d30f9318b 100644
--- a/lib/puppet/network/http/webrick/rest.rb
+++ b/lib/puppet/network/http/webrick/rest.rb
@@ -35,6 +35,6 @@ class Puppet::Network::HTTP::WEBrickREST < Puppet::Network::HTTP::Handler
end
def encode_result(request, response, result)
- result
+ response.status = 200
end
end \ No newline at end of file