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
d48ab1e9
Commit
d48ab1e9
authored
Sep 15, 1997
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NS Server apparently chokes on multi-line headers, so bci exception info
no longer uses ml.
parent
5b1d11a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
lib/python/ZPublisher/Response.py
lib/python/ZPublisher/Response.py
+8
-4
No files found.
lib/python/ZPublisher/Response.py
View file @
d48ab1e9
...
...
@@ -3,7 +3,7 @@
__doc__
=
'''CGI Response Output formatter
$Id: Response.py,v 1.1
6 1997/04/29 18:29:00 jim
Exp $'''
$Id: Response.py,v 1.1
7 1997/09/15 19:20:56 brian
Exp $'''
# Copyright
#
# Copyright 1996 Digital Creations, L.C., 910 Princess Anne
...
...
@@ -55,6 +55,10 @@ $Id: Response.py,v 1.16 1997/04/29 18:29:00 jim Exp $'''
# (540) 371-6909
#
# $Log: Response.py,v $
# Revision 1.17 1997/09/15 19:20:56 brian
# NS Server apparently chokes on multi-line headers, so bci exception info
# no longer uses ml.
#
# Revision 1.16 1997/04/29 18:29:00 jim
# Changed bobo-exception header code to use tb tail, rather than head
# for reporting errors.
...
...
@@ -126,7 +130,7 @@ $Id: Response.py,v 1.16 1997/04/29 18:29:00 jim Exp $'''
#
#
#
__version__
=
'$Revision: 1.1
6
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
7
$'
[
11
:
-
2
]
import
string
,
types
,
sys
,
regex
,
regsub
...
...
@@ -487,8 +491,8 @@ class Response:
try
:
# Try to capture exception info for bci calls
et
=
regsub
.
gsub
(
'
\
n
'
,
'
\
t
\
n
'
,
str
(
t
))
ev
=
regsub
.
gsub
(
'
\
n
'
,
'
\
t
\
n
'
,
str
(
v
))
et
=
regsub
.
gsub
(
'
\
n
'
,
'
'
,
str
(
t
))
ev
=
regsub
.
gsub
(
'
\
n
'
,
'
'
,
str
(
v
))
# Get the tb tail, which is the interesting part:
while
tb
.
tb_next
is
not
None
:
tb
=
tb
.
tb_next
el
=
str
(
tb
.
tb_lineno
)
...
...
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