Fixed #23977 -- Added setdefault method to HttpResponse

Ticket #23977. Created set_default method for more convenient default headers setting in HttpResponse.
Perhaps we can rename this to `set_default` or `set_default_header` if it doesn't behave like `dict.setdefault`. Thoughts?