src/main/java/me/codeboy/common/base/net/core/CBConnection.java
public CBConnection header(Map<String, String> header) {
        if (header != null) {
            this.header = header;
        } else {
            header.clear();
        }
        return this;
    }
public CBConnection header(Map<String, String> header) {
        if (header != null) {
            this.header = header;
        } else {
            header.clear();
        }
        return this;
    }
添加请求头部,此方法将会清空之前所有已经设置的头部信息

@param header 请求头部
@return 连接
@see #header(String, String)