Hobbit v0.5.0 Release Notes
Release Date: 2014-03-06 // about 10 years ago-
- 🔨 Refactor
Hobbit::Base#halt
. It now sets the status, merges the headers and writes the body (usingHobbit::Response#write
) when given a fixnum, a hash or a string. Hobbit::Response
headers and body are not accessors anymore. This is because when you set the body directly, theContent-Length
is not calculated (it's calculated on#write
).
- 🔨 Refactor