Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 576756 Details for
Bug 809234
Pulp::Repository: Request Timeout during promotion
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch that adds Content-Length HTTP header to all Pulp controllers
0001-return-Content-Length-for-all-controllers.patch (text/plain), 1.00 KB, created by
Lukas Zapletal
on 2012-04-11 12:23:34 UTC
(
hide
)
Description:
Patch that adds Content-Length HTTP header to all Pulp controllers
Filename:
MIME Type:
Creator:
Lukas Zapletal
Created:
2012-04-11 12:23:34 UTC
Size:
1.00 KB
patch
obsolete
>From 236eb31610830a5e1896942e5352be81f729324b Mon Sep 17 00:00:00 2001 >From: Lukas Zapletal <lzap+git@redhat.com> >Date: Wed, 11 Apr 2012 14:19:20 +0200 >Subject: [PATCH] return Content-Length for all controllers > >--- > src/pulp/server/webservices/controllers/base.py | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/src/pulp/server/webservices/controllers/base.py b/src/pulp/server/webservices/controllers/base.py >index 82898e7..3eda5fd 100644 >--- a/src/pulp/server/webservices/controllers/base.py >+++ b/src/pulp/server/webservices/controllers/base.py >@@ -129,7 +129,9 @@ class JSONController(object): > JSON encode the response and set the appropriate headers > """ > http.header('Content-Type', 'application/json') >- return json.dumps(data, default=json_util.default) >+ body = json.dumps(data, default=json_util.default) >+ http.header('Content-Length', len(body)) >+ return body > > def _error_dict(self, msg, code=None): > """ >-- >1.7.7.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 809234
:
574607
|
575524
| 576756