Refs #23977 -- Created set_default method

Ticket #23977. Created set_default method for more convenient default headers setting in HttpResponse.