MCPcopy Create free account
hub / github.com/apache/httpd / store_variant_list

Function store_variant_list

modules/mappers/mod_negotiation.c:2676–2685  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2674}
2675
2676static void store_variant_list(request_rec *r, negotiation_state *neg)
2677{
2678 if (r->main == NULL) {
2679 apr_table_setn(r->notes, "variant-list", make_variant_list(r, neg));
2680 }
2681 else {
2682 apr_table_setn(r->main->notes, "variant-list",
2683 make_variant_list(r->main, neg));
2684 }
2685}
2686
2687/* Called if we got a "Choice" response from the variant selection algorithm.
2688 * It checks the result of the chosen variant to see if it

Callers 1

do_negotiationFunction · 0.85

Calls 1

make_variant_listFunction · 0.85

Tested by

no test coverage detected