Views¶
Core¶
- class kiss.views.core.JsonResponse(inp, **argw)¶
Json response. Pass any object you want, JsonResponse converts it to json.
- class kiss.views.core.RedirectResponse(response=None, status=None, headers=None, mimetype=None, content_type=None, direct_passthrough=False)¶
Response for redirect. Pass path and server will do 302 request.
- class kiss.views.core.Request(options, **argw)¶
Base request object inhereted from werkzeug Request. Added session object.
- class kiss.views.core.Response(text, **argw)¶
Base response object inhereted from werkzeug Response. Text/html mimetype is default.