Refs #23977 -- Created set_default method

Ticket #23977. Created set_default method for more convenient default headers setting in HttpResponse.
`dict.setdefault` returns the set or existing value, should we do the same here?