Add some TODOs
No change in behaviour
This commit is contained in:
parent
3ff56d815a
commit
e6e3b0bd27
|
@ -6,7 +6,7 @@ module Zero
|
||||||
attr_reader :status
|
attr_reader :status
|
||||||
attr_accessor :header, :body
|
attr_accessor :header, :body
|
||||||
|
|
||||||
# Construtor
|
# Constructor
|
||||||
# Sets default status code to 200.
|
# Sets default status code to 200.
|
||||||
#
|
#
|
||||||
def initialize
|
def initialize
|
||||||
|
@ -31,6 +31,10 @@ module Zero
|
||||||
# @return [Array]
|
# @return [Array]
|
||||||
#
|
#
|
||||||
def to_a()
|
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]
|
[@status, @header, @body]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user