Responses Utility

stackinabox.util.responses.responses_callback(request)

Responses Request Handler.

Converts a call intercepted by Responses to the Stack-In-A-Box infrastructure

Parameters:request – request object
Returns:tuple - (int, dict, string) containing: int - the HTTP response status code dict - the headers for the HTTP response string - HTTP string response
stackinabox.util.responses.responses_registration(*args, **kwargs)