fixing wrong feature usage

This commit is contained in:
Jocelyn Fiat
2011-08-24 15:54:01 +02:00
parent ec6cc5f2b8
commit 4d0148d562

View File

@@ -151,7 +151,7 @@ feature -- Execution
h.put_content_type (l_response_content_type) h.put_content_type (l_response_content_type)
h.put_content_length (msg.count) h.put_content_length (msg.count)
res.set_status_code (200) res.set_status_code (200)
res.write_string (h.string) res.write_headers_string (h.string)
-- res.write_header (200, << -- res.write_header (200, <<
-- ["Content-Type", l_response_content_type], -- ["Content-Type", l_response_content_type],
-- ["Content-Length", msg.count.out -- ["Content-Length", msg.count.out