* A folded header continuation line starts with any number of spaces or * horizontal tab characters (SP or HTAB) as per RFC 7230 section 3.2. * It is not a continuation line if the line starts with any other character. */
| 213 | * It is not a continuation line if the line starts with any other character. |
| 214 | */ |
| 215 | static inline int is_hdr_continuation(const char *ptr, const size_t size) |
| 216 | { |
| 217 | return size && (*ptr == ' ' || *ptr == '\t'); |
| 218 | } |
| 219 | |
| 220 | static size_t fwrite_wwwauth(char *ptr, size_t eltsize, size_t nmemb, void *p MAYBE_UNUSED) |
| 221 | { |