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
6aa49ae3
Commit
6aa49ae3
authored
Apr 18, 1997
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Machine name printed in NotFound
parent
df27e8b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
lib/python/ZPublisher/Client.py
lib/python/ZPublisher/Client.py
+6
-3
No files found.
lib/python/ZPublisher/Client.py
View file @
6aa49ae3
"""Bobo call interface"""
__version__
=
'$Revision: 1.
5
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
import
sys
,
regex
from
httplib
import
HTTP
...
...
@@ -145,7 +145,7 @@ class RemoteMethod:
response =h.getfile().read()
except:
raise NotAvailable,
\
RemoteException(NotAvailable,sys.exc_value,self.
r
url,query)
RemoteException(NotAvailable,sys.exc_value,self.url,query)
if ec==200: return (headers,response)
else:
...
...
@@ -156,7 +156,7 @@ class RemoteMethod:
if ec >= 400 and ec < 500: t=NotFound
elif ec >= 500 and ec < 600: t=ServerError
else: t=NotAvailable
raise t, RemoteException(t,v,self.
r
url,query,ec,em,response)
raise t, RemoteException(t,v,self.url,query,ec,em,response)
...
...
@@ -245,6 +245,9 @@ if __name__ == "__main__": main()
#
# $Log: Client.py,v $
# Revision 1.6 1997/04/18 16:41:36 jim
# Machine name printed in NotFound
#
# Revision 1.5 1997/04/16 21:56:27 jim
# repr now shows URL on Not Found.
#
...
...
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