MCPcopy Index your code
hub / github.com/XF-FS/APIKit / formatHeaders

Method formatHeaders

src/main/java/burp/utils/CommonUtils.java:197–209  ·  view source on GitHub ↗
(String headers)

Source from the content-addressed store, hash-verified

195 }
196
197 public static List<String> formatHeaders(String headers) {
198 String[] lines;
199 if (headers == null || headers.trim().isEmpty()) {
200 return new ArrayList<String>();
201 }
202 ArrayList<String> headerList = new ArrayList<String>();
203 for (String line : lines = headers.split("\n")) {
204 String trimmed = line.trim();
205 if (trimmed.isEmpty()) continue;
206 headerList.add(trimmed);
207 }
208 return headerList;
209 }
210}
211

Callers

nothing calls this directly

Calls 1

addMethod · 0.80

Tested by

no test coverage detected