diff options
author | Stormwind <stormwind@stormwinds-page.de> | 2012-11-18 16:24:50 +0100 |
---|---|---|
committer | Stormwind <stormwind@stormwinds-page.de> | 2012-11-18 16:24:50 +0100 |
commit | e6e3b0bd2721f288a9795533f975e8995222396c (patch) | |
tree | 8f6947a8c61421bb1a0bd9a8e5e9b012075e1078 | |
parent | 3ff56d815ab38bf169f2e5394b97c35616e3d559 (diff) |
Add some TODOs
No change in behaviour
-rw-r--r-- | lib/zero/response.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/zero/response.rb b/lib/zero/response.rb index 0981261..74b2e28 100644 --- a/lib/zero/response.rb +++ b/lib/zero/response.rb @@ -6,7 +6,7 @@ module Zero attr_reader :status attr_accessor :header, :body - # Construtor + # Constructor # Sets default status code to 200. # def initialize @@ -31,6 +31,10 @@ module Zero # @return [Array] # def to_a() + # TODO Remove content length and body, on certain status codes + # TODO Set content length, if not already set + # TODO Set content type, if not already set + [@status, @header, @body] end |