Revision ef761fe4

b/snf-cyclades-app/synnefo/api/subnets.py
148 148

  
149 149
    subnet_dict = subnet_to_dict(sub)
150 150
    data = json.dumps({'subnet': subnet_dict})
151
    return HttpResponse(data, status=200)
151
    return HttpResponse(data, status=201)
152 152

  
153 153

  
154 154
@api.api_method(http_method='GET', user_required=True, logger=log)

Also available in: Unified diff