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

Add overloaded WithHeaders extension supporting IEnumerables#2971

Open
Chandler-Davidson wants to merge 1 commit intoNancyFx:masterfrom
Chandler-Davidson:with-headers-enumerable
Open

Add overloaded WithHeaders extension supporting IEnumerables#2971
Chandler-Davidson wants to merge 1 commit intoNancyFx:masterfrom
Chandler-Davidson:with-headers-enumerable

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