passbe/beef-migration-test-3 — Issue #213: Separate requester filters and move exceptions
Author: passbe
Created: 2011-12-08 23:46:12+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.
Google Code Issue: http://code.google.com/p/beef/issues/detail?id=183