1. Luke Plant
  2. django-piston

Commits

Jesper Nøhr  committed 40cd0dd

supports search on /repositories/ now, adding BAD_REQUEST (400) to utils.rc

  • Participants
  • Parent commits 6558b3e
  • Branches default

Comments (0)

Files changed (1)

File piston/utils.py

View file
     ALL_OK = create_reply('OK', status=200)
     CREATED = create_reply('Created', status=201)
     DELETED = create_reply('', status=204) # 204 says "Don't send a body!"
+    BAD_REQUEST = create_reply('Bad Request', status=400)
     FORBIDDEN = create_reply('Forbidden', status=401)
     DUPLICATE_ENTRY = create_reply('Conflict', status=409)
     NOT_HERE = create_reply('Gone', status=410)