csp->headers->first = csp->https_headers->first;
csp->headers->last = csp->https_headers->last;
+ /*
+ * Start with fresh tags. Already exising tags may
+ * be set again. This is necessary to overrule
+ * URL-based patterns.
+ */
+ destroy_list(csp->tags);
+
+ /*
+ * We want client header filters and taggers
+ * so temporarly remove the flag.
+ */
+ csp->flags &= ~CSP_FLAG_CLIENT_HEADER_PARSING_DONE;
err = sed(csp, FILTER_CLIENT_HEADERS);
+ csp->flags |= CSP_FLAG_CLIENT_HEADER_PARSING_DONE;
csp->headers->first = headers.first;
csp->headers->last = headers.last;