Commits

Joshua Ginsberg  committed d34db3f

Added rc response for HTTP status code 202 - Fixes #204

  • Participants
  • Parent commits b9869d4

Comments (0)

Files changed (1)

File piston/utils.py

     """
     CODES = dict(ALL_OK = ('OK', 200),
                  CREATED = ('Created', 201),
+                 ACCEPTED = ('Accepted', 202),
                  DELETED = ('', 204), # 204 says "Don't send a body!"
                  BAD_REQUEST = ('Bad Request', 400),
                  FORBIDDEN = ('Forbidden', 401),