Added discrimination between get and post request to default filtering.