Applied renaming from write_ to put_

This commit is contained in:
Jocelyn Fiat
2011-12-15 19:34:20 +01:00
parent 32373addfa
commit 7207a021be
7 changed files with 24 additions and 24 deletions

View File

@@ -158,8 +158,8 @@ feature -- Output
send (buf: WSF_RESPONSE)
do
buf.set_status_code (200)
buf.write_header_text (header_string)
buf.write_string (message_string)
buf.put_header_text (header_string)
buf.put_string (message_string)
end
feature {NONE} -- Implementation: output

View File

@@ -133,9 +133,9 @@ feature -- Output
do
compute
res.set_status_code (200)
res.write_header_text (headers_string)
res.put_header_text (headers_string)
if attached message as m then
res.write_string (m)
res.put_string (m)
end
end

View File

@@ -80,8 +80,8 @@ feature -- Execution
execute_unauthorized (ctx: C; req: WSF_REQUEST; res: WSF_RESPONSE)
do
res.set_status_code ({HTTP_STATUS_CODE}.unauthorized)
res.write_header ({HTTP_STATUS_CODE}.unauthorized, Void)
res.write_string ("Unauthorized")
res.put_header ({HTTP_STATUS_CODE}.unauthorized, Void)
res.put_string ("Unauthorized")
end
feature -- Auth