|
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 |
|
|
22cf93d002
|
Remove @s in to_a
|
2012-11-23 17:45:36 +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 |
|
|
e6e3b0bd27
|
Add some TODOs
No change in behaviour
|
2012-11-18 16:24:50 +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 |
|
Gibheer
|
92e199d5db
|
Rack::Response and Rack::Request work pretty good
|
2012-10-06 20:18:30 +02:00 |
|
Gibheer
|
46fcff33b7
|
a small api is needed
|
2012-10-05 20:18:22 +02:00 |
|
Gibheer
|
896157c234
|
the body is an array
|
2012-10-05 08:13:07 +02:00 |
|
Gibheer
|
609015b6fc
|
small changes to get it working
|
2012-10-05 08:12:34 +02:00 |
|
Gibheer
|
bc34186b23
|
added some basic structures
|
2012-10-05 07:54:17 +02:00 |
|