|
8a75f9462d
|
Add an = at the end of the content_type method
Shall made use of this functionality more confortable, even if it's not
a real attribute of this class.
|
2012-11-24 15:35:23 +01:00 |
|
|
5c45e1e20b
|
Delete Content-Length. Conten-Type and body on status 304
|
2012-11-24 15:28:42 +01:00 |
|
|
bffdca6cb1
|
Delete Content-Length. Conten-Type and body on status 204
Should work, but somehow it doesn't...
|
2012-11-23 21:24:37 +01:00 |
|
|
fea8ac2bbd
|
Sets the Content-Type in to_a unless it is already set before
The default value is 'text/html'.
|
2012-11-23 20:05:58 +01:00 |
|
|
16eef08688
|
content_type sets the Content-Type header to the given value
|
2012-11-23 19:54:17 +01:00 |
|
|
78121c6eea
|
Sets the Content-Length in to_a unless it is already set before
|
2012-11-23 19:39:56 +01:00 |
|
|
c15e8bdacb
|
Sets Content-Type header in to_a
|
2012-11-23 19:35:14 +01:00 |
|
|
a2e6c299cd
|
Sets Content-Length to body string bytesize
Sets the Conten-Length to the bytesize of the joined body to cover UTF-8
|
2012-11-23 18:06:53 +01:00 |
|
|
b4e56c6868
|
Sets Content-Length to body string length
It joins the body array to a string and sets the Content-Length header
to its length.
|
2012-11-23 17:59:33 +01:00 |
|
|
963adb8ddc
|
content_length sets the Content-Length to 0
The method content_length creates a header named Content-Length and sets
its value to 0.
|
2012-11-23 17:43:39 +01:00 |
|
|
2b79c3e840
|
Rename #finish to #to_a in response specs
|
2012-11-19 19:39:45 +01:00 |
|
|
2e073a07fa
|
Restructure response specs
Also no change in behaviour
|
2012-11-18 16:38:38 +01:00 |
|
|
3ff56d815a
|
Add default value for the body
|
2012-11-18 16:09:41 +01:00 |
|
|
3c3850a02b
|
Add default value for header
|
2012-11-18 15:02:07 +01:00 |
|
|
a76b08fbb3
|
Add default value to status code
|
2012-11-17 14:46:53 +01:00 |
|
|
633d5fb7c8
|
Converts any input in status to an integer
|
2012-11-17 14:35:15 +01:00 |
|
|
0986ca27f5
|
Add simple response object
|
2012-11-16 17:56:34 +01:00 |
|