You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by hezjing <he...@gmail.com> on 2007/05/30 05:45:12 UTC
[AsyncWeb] Change response header
Hi!
When commit a response to the HttpRequest, the response contains a
header "Server: AsyncWeb\r\n".
I tried to modify this value with the following, but :-(
response.setHeader("Server", "MyServer")
response.setHeader(HttpHeaders.SERVER_HEADER, "MyServer");
May I know how can we modify this header?
--
Hez