Sha256: 41ebf7e0df764d2534895ff2c85ec0084cb3719664f61ee909b3654831dfa818
Contents?: true
Size: 297 Bytes
Versions: 17
Compression:
Stored size: 297 Bytes
Contents
module Rack::App::InstanceMethods::Upload def serve_file(file_path) raw_rack_resp = Rack::App::FileServer.serve_file(request.env, file_path) response.status = raw_rack_resp[0] response.headers.merge!(raw_rack_resp[1]) response.body = raw_rack_resp[2] return nil end end
Version data entries
17 entries across 17 versions & 1 rubygems