When filtering based on keyword arguments, ignore those with value None(it means that no value has been provided for them)
Modified the interface of some classes and methods, for consistency across the whole framework
Modified how the fake static fields are defined in a Model class
Defined request-aware fake fields on handlers
Documentation of changes
Testing changes
readme
Serializin' the fake dynamic fields
For the TestResponseContentBase test class, I have added also the *None* response as valid, in case of a 200 status code
Added Handler level flag *ALL_FIELDS* which if it's assigned on a handlers *allowed_in_fields*, then the handler will allow all incoming fields in the request body
If the handler's *allowed_in_fields* is equal to *ALL_FIELDS*, we don't apply the restriction on the id field
If the handler's *allowed_in_fields* is equal to *ALL_FIELDS*, then we don't apply any request body field strip
oops
Parameter *mimetype* on HTTPResponse objects is not deprecated. Replaced
with *Content-type* dict element
Corrected tests
Simplifying code, and actually making things stricter with regards to content type. No more allowing weird content types.
Added the *request* parameter to the *filter_data* method. This enables us (when overriding the method) to filter on parameter that can only be derived from the request object