beefproject/beef-migration-test — Issue #131: 183 - Separate requester filters and move exceptions 
Author: beefproject
Created: 2011-12-03 02:11:39+00:00
State: open

Separate the request filters in /lib/filter/requester.rb. Currently, the request is validated as a whole and exceptions are called from the request filter function. Break these these out into individual functions. For example, is_valid_http_verb?() and is_valid_domain?().

Move the exceptions to the caller of the filter function. This should maintain the exception visibility.

Original link: http://code.google.com/p/beef/issues/detail?id=183