Refs #23977 -- Created set_default method

Ticket #23977. Created set_default method for more convenient default headers setting in HttpResponse.
Why not do:

    if key not in self:
        self[key] = value