Class: Yast::TarballServlet
- Inherits:
-
WEBrick::HTTPServlet::AbstractServlet
- Object
- WEBrick::HTTPServlet::AbstractServlet
- Yast::TarballServlet
- Defined in:
- lib/yast/tarball_servlet.rb
Overview
a webrick servlet which dynamically creates a tarball with the content of the current Git checkout
Instance Method Summary collapse
Instance Method Details
#do_GET(_request, response) ⇒ Object
27 28 29 30 31 |
# File 'lib/yast/tarball_servlet.rb', line 27 def do_GET(_request, response) response.status = 200 response.content_type = "application/gzip" response.body = source_archive end |