would it be possible to match headers by regular expression? #3

Closed
benpickles opened this Issue Dec 15, 2009 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

benpickles commented Dec 15, 2009

for example:

assert_requested :get, 'http://example.com', :headers => { :user_agent => /^MyAppName/ }

Owner

bblimke commented Jan 21, 2010

It's now implemented in master branch.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment