(PECL pecl_http >= 0.12.0)
HttpResponse::setHeader — Set header
Send an HTTP header.
the name of the header
the value of the header; if not set, no header with this name will be sent
whether an existing header should be replaced
如果成功则返回 TRUE,失败则返回 FALSE。