# File lib/puppet/network/http/webrick/rest.rb, line 51
51:     def set_response(response, result, status = 200)
52:         response.status = status
53:         response.body          = result if status >= 200 and status != 304
54:         response.reason_phrase = result if status < 200 or status >= 300
55:     end