I can't seem to use Rack requests (e.g. from Rails) directly in the Verification as they expose headers on a headers accessor rather than on the base object itself.
I have created a pretty dirty monkey-patch to check if there is a headers method and check that first but was wondering if there is a better option?
I can't seem to use Rack requests (e.g. from Rails) directly in the Verification as they expose headers on a
headersaccessor rather than on the base object itself.I have created a pretty dirty monkey-patch to check if there is a
headersmethod and check that first but was wondering if there is a better option?