Skip to content

Commit

Permalink
Fix response.status
Browse files Browse the repository at this point in the history
  • Loading branch information
vkuznet committed Nov 23, 2014
1 parent ed544ed commit 2c92e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/WMCore/REST/Main.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def access(self):
'H': self.host,
'h': remote.name or remote.ip,
'r': request.request_line,
's': response.status.split(" ", 1)[0],
's': response.status,
# request.rfile.rfile.bytes_read is a custom CMS web
# cherrypy patch not always available, hence the test
'i': (getattr(request.rfile, 'rfile', None)
Expand Down

0 comments on commit 2c92e23

Please sign in to comment.