Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-11-24 | Add an = at the end of the content_type method | Stormwind | 1 | -3/+3 | |
Shall made use of this functionality more confortable, even if it's not a real attribute of this class. | |||||
2012-11-24 | Delete Content-Length. Conten-Type and body on status 304 | Stormwind | 1 | -0/+11 | |
2012-11-23 | Delete Content-Length. Conten-Type and body on status 204 | Stormwind | 1 | -0/+11 | |
Should work, but somehow it doesn't... | |||||
2012-11-23 | Sets the Content-Type in to_a unless it is already set before | Stormwind | 1 | -3/+16 | |
The default value is 'text/html'. | |||||
2012-11-23 | content_type sets the Content-Type header to the given value | Stormwind | 1 | -3/+11 | |
2012-11-23 | Sets the Content-Length in to_a unless it is already set before | Stormwind | 1 | -2/+9 | |
2012-11-23 | Sets Content-Type header in to_a | Stormwind | 1 | -1/+6 | |
2012-11-23 | Sets Content-Length to body string bytesize | Stormwind | 1 | -0/+8 | |
Sets the Conten-Length to the bytesize of the joined body to cover UTF-8 | |||||
2012-11-23 | Sets Content-Length to body string length | Stormwind | 1 | -0/+7 | |
It joins the body array to a string and sets the Content-Length header to its length. | |||||
2012-11-23 | content_length sets the Content-Length to 0 | Stormwind | 1 | -0/+11 | |
The method content_length creates a header named Content-Length and sets its value to 0. | |||||
2012-11-19 | Rename #finish to #to_a in response specs | Stormwind | 1 | -1/+1 | |
2012-11-18 | Restructure response specs | Stormwind | 1 | -32/+35 | |
Also no change in behaviour | |||||
2012-11-18 | Add default value for the body | Stormwind | 1 | -0/+6 | |
2012-11-18 | Add default value for header | Stormwind | 1 | -1/+7 | |
2012-11-17 | Add default value to status code | Stormwind | 1 | -1/+4 | |
2012-11-17 | Converts any input in status to an integer | Stormwind | 1 | -0/+10 | |
2012-11-16 | Add simple response object | Stormwind | 1 | -0/+19 | |