~openerp-commiter/openobject-addons/extra-6.0

« back to all changes in this revision

Viewing changes to document_webdav_old/webdav/DAV/status.py

  • Committer: Fabien Pinckaers
  • Date: 2008-12-12 09:09:57 UTC
  • Revision ID: fp@tinyerp.com-20081212090957-cson0n0jove7dt7i
document_webdav

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
"""
 
2
 
 
3
status codes for DAV services
 
4
 
 
5
 
 
6
"""
 
7
 
 
8
 
 
9
STATUS_CODES={
 
10
        102:    "Processing",
 
11
        200:    "Ok",
 
12
        201:    "Created",
 
13
        204:    "No Content",
 
14
        207:    "Multi-Status",
 
15
        201:    "Created",
 
16
        400:    "Bad Request",
 
17
        403:    "Forbidden",
 
18
        404:    "Not Found",
 
19
        405:    "Method Not Allowed",
 
20
        409:    "Conflict",
 
21
        412:    "Precondition failed",
 
22
        423:    "Locked",
 
23
        415:    "Unsupported Media Type",
 
24
        507:    "Insufficient Storage",
 
25
        422:    "Unprocessable Entity",
 
26
        423:    "Locked",
 
27
        424:    "Failed Dependency",
 
28
        502:    "Bad Gateway",
 
29
        507:    "Insufficient Storage",
 
30
        999:    "Some error in Create Method please check the data of create method"
 
31
}