@headers, @response.headersに直接記入する.HTTP Statusが分かっていれば,render :textを使う.
@headers['Content-type'] = 'text/xml'
render :text => 'Not Found', :status => 404
comments powered by Disqus
@headers, @response.headersに直接記入する.HTTP Statusが分かっていれば,render :textを使う.
@headers['Content-type'] = 'text/xml'
render :text => 'Not Found', :status => 404
comments powered by Disqus