(collection, request, body, absolutize_url)
return json.dumps(response)
Successfully create a stack.
Successfully create a stack.
Successfully create a stack .
def default_create_behavior(collection, request, body, absolutize_url):
    """
    Successfully create a stack.
    """
    new_stack = Stack.from_creation_request_json(collection, body)
    response = new_stack.creation_response_json(absolutize_url)
    request.setResponseCode(201)
    return json.dumps(response)
def default_create_behavior ( collection , request , body , absolutize_url ) : new_stack = Stack . from_creation_request_json ( collection , body ) response = new_stack . creation_response_json ( absolutize_url ) request . setResponseCode ( 201 ) return json . dumps ( response )