Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
90f0ea0b
Commit
90f0ea0b
authored
Mar 12, 1999
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added DAV HTTP response codes to http_server.py
parent
eb14b8a5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1334 additions
and
1328 deletions
+1334
-1328
ZServer/medusa/http_server.py
ZServer/medusa/http_server.py
+667
-664
lib/python/ZServer/medusa/http_server.py
lib/python/ZServer/medusa/http_server.py
+667
-664
No files found.
ZServer/medusa/http_server.py
View file @
90f0ea0b
...
...
@@ -9,7 +9,7 @@
# interested in using this software in a commercial context, or in
# purchasing support, please contact the author.
RCS_ID
=
'$Id: http_server.py,v 1.
4 1999/01/18 22:44:49 amos Exp $'
RCS_ID
=
'$Id: http_server.py,v 1.
5 1999/03/12 19:21:40 brian Exp $'
# python modules
import
os
...
...
@@ -244,12 +244,14 @@ class http_request:
204
:
"No Content"
,
205
:
"Reset Content"
,
206
:
"Partial Content"
,
207
:
"Multi-Status"
,
300
:
"Multiple Choices"
,
301
:
"Moved Permanently"
,
302
:
"Moved Temporarily"
,
303
:
"See Other"
,
304
:
"Not Modified"
,
305
:
"Use Proxy"
,
307
:
"Temporary Redirect"
,
400
:
"Bad Request"
,
401
:
"Unauthorized"
,
402
:
"Payment Required"
,
...
...
@@ -271,7 +273,8 @@ class http_request:
502
:
"Bad Gateway"
,
503
:
"Service Unavailable"
,
504
:
"Gateway Time-out"
,
505
:
"HTTP Version not supported"
505
:
"HTTP Version not supported"
,
507
:
"Insufficient Storage"
}
# Default error message
...
...
lib/python/ZServer/medusa/http_server.py
View file @
90f0ea0b
...
...
@@ -9,7 +9,7 @@
# interested in using this software in a commercial context, or in
# purchasing support, please contact the author.
RCS_ID
=
'$Id: http_server.py,v 1.
4 1999/01/18 22:44:49 amos Exp $'
RCS_ID
=
'$Id: http_server.py,v 1.
5 1999/03/12 19:21:40 brian Exp $'
# python modules
import
os
...
...
@@ -244,12 +244,14 @@ class http_request:
204
:
"No Content"
,
205
:
"Reset Content"
,
206
:
"Partial Content"
,
207
:
"Multi-Status"
,
300
:
"Multiple Choices"
,
301
:
"Moved Permanently"
,
302
:
"Moved Temporarily"
,
303
:
"See Other"
,
304
:
"Not Modified"
,
305
:
"Use Proxy"
,
307
:
"Temporary Redirect"
,
400
:
"Bad Request"
,
401
:
"Unauthorized"
,
402
:
"Payment Required"
,
...
...
@@ -271,7 +273,8 @@ class http_request:
502
:
"Bad Gateway"
,
503
:
"Service Unavailable"
,
504
:
"Gateway Time-out"
,
505
:
"HTTP Version not supported"
505
:
"HTTP Version not supported"
,
507
:
"Insufficient Storage"
}
# Default error message
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment