(contentType string)
| 1062 | } |
| 1063 | |
| 1064 | func boundaryFromContentTypeHeader(contentType string) string { |
| 1065 | if contentType == "" { |
| 1066 | return "" |
| 1067 | } |
| 1068 | _, params, err := mime.ParseMediaType(contentType) |
| 1069 | if err != nil { |
| 1070 | return "" |
| 1071 | } |
| 1072 | return strings.TrimSpace(params["boundary"]) |
| 1073 | } |
| 1074 | |
| 1075 | func isLikelyStreamingHTTPResponse(tc *models.TestCase, resp *http.Response) bool { |
| 1076 | if resp != nil { |
no outgoing calls
no test coverage detected