remove charset head in httpserver