| 203 | } |
| 204 | |
| 205 | String extractDispositionValue(const String &headers, const char *name) { |
| 206 | String key = String(name) + "=\""; |
| 207 | int idx = headers.indexOf(key); |
| 208 | if (idx < 0) return ""; |
| 209 | int start = idx + key.length(); |
| 210 | int end = headers.indexOf('"', start); |
| 211 | if (end < 0) return ""; |
| 212 | return headers.substring(start, end); |
| 213 | } |
| 214 | |
| 215 | void parseMultipartFields(const String &body, const String &contentType, WebParamMap ¶ms) { |
| 216 | String boundary = multipartBoundary(contentType); |
no outgoing calls
no test coverage detected