Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Add overloaded WithHeaders extension supporting IEnumerables #2971

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add overloaded WithHeaders extension supporting IEnumerables #2971

wants to merge 1 commit into from

Conversation

Chandler-Davidson
Copy link

@Chandler-Davidson Chandler-Davidson commented Jul 10, 2019

Prerequisites

  • I have verified that there are no overlapping pull-requests open
  • I have written a descriptive pull-request title
  • I have verified that I am following the Nancy code style guidelines
  • I have provided test coverage for my change (where applicable)

Description

Added two new overloads for the existing WithHeaders Response extension methods. Both methods support IEnumerable which avoids a pain point regarding the params keyword.

- New WithHeaders methods accept an IEnumerable
- Added tests
@dnfclas
Copy link

dnfclas commented Jul 10, 2019

CLA assistant check
All CLA requirements met.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants