Closed peterfication closed 7 months ago
@rmosolgo is this PR something you would consider useful? I need it in the project I'm currently working on.
Hey, thanks for this improvement! Sorry it took me so long to review it.
I switched the check from present?
to !...nil?
in case people want to send blank strings as header values.
If the header lambda returns
nil
, the header is still set with a value ofnull
.This PR changes that and does not set headers that resolve to
nil
.