StatusCode 读取状态码
()
| 922 | |
| 923 | // StatusCode 读取状态码 |
| 924 | func (this *HTTPWriter) StatusCode() int { |
| 925 | if this.statusCode == 0 { |
| 926 | return http.StatusOK |
| 927 | } |
| 928 | return this.statusCode |
| 929 | } |
| 930 | |
| 931 | // HeaderData 读取Header二进制数据 |
| 932 | func (this *HTTPWriter) HeaderData() []byte { |
no outgoing calls
no test coverage detected