Skip to content
This repository was archived by the owner on Mar 10, 2025. It is now read-only.

Configurable callbacks#3

Merged
DevL merged 7 commits intomasterfrom
additional_options
Apr 4, 2015
Merged

Configurable callbacks#3
DevL merged 7 commits intomasterfrom
additional_options

Conversation

@DevL
Copy link
Owner

@DevL DevL commented Apr 3, 2015

Allow a missing header key to be handled by a callback function by optionally specifying a module-function pair as the :on_missing option.

The list of headers to extract is now moved to a nested keyword list under the :headers key.

TODO

  • Optionally specify a callback
  • Allow multiple header keys to be extracted
  • Refactor and cleanup tests

@DevL DevL force-pushed the additional_options branch from a036f79 to 68df328 Compare April 4, 2015 20:34
@DevL DevL force-pushed the additional_options branch from 68df328 to 261dcaa Compare April 4, 2015 20:37
DevL added a commit that referenced this pull request Apr 4, 2015
Enable extraction multiple headers and configure callback for missing headers.
@DevL DevL merged commit 75b822d into master Apr 4, 2015
@DevL DevL deleted the additional_options branch April 4, 2015 20:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant