Flowdock
method

assign_status

Importance_0
v2.3.8 - Show latest stable - 0 notes - Class: DispatchServlet
assign_status(res, header) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/webrick_server.rb, line 150
    def assign_status(res, header)
      if /^(\d+)/ =~ header['status'][0]
        res.status = $1.to_i
        header.delete('status')
      end
    end
Register or log in to add new notes.