Applied renaming from write_ to put_
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user