code: func (c *Client) dumpResponse(ctx context.Context, resp *http.Response) {
  	respBody, _ := dumpRespBody(resp)
  	goa.LogInfo(ctx, "response headers", headersToSlice(resp.Header)...)
  	if respBody != nil {
  		goa.LogInfo(ctx, "response", "body", string(respBody))
  	}
  }
docs: // dumpResponse dumps the response and the request.