restapi.rest.response.ResponseMaker

class restapi.rest.response.ResponseMaker[source]
__init__()

Methods

__init__()

convert_model_to_schema(schema)

get_accepted_formats()

Possible outputs: '/' 'application/json' 'text/html' 'application/xml' 'text/csv'

get_html(content, code, headers)

get_schema_type(field, schema[, default])

gzip_response(content, code, ...)

is_binary(content_type)

respond_with_schema(schema)