beefproject/beef — Issue #213: Separate requester filters and move exceptions
Author: passbe
Created: 2011-12-10 22:05:45+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