Ticket #2466 (closed defect: migrated)
[PATCH] Overlapping 'Content-Type' is set to pylons.resonse.headers
| Reported by: | Tomoyuki Kano | Owned by: | percious |
|---|---|---|---|
| Priority: | high | Milestone: | 2.1.1 |
| Component: | TurboGears | Version: | trunk |
| Severity: | major | Keywords: | |
| Cc: |
Description
- This assignment put two 'Content-Type' on pylons.response.header as a result.
tg/configuration.py:197
pylons_config['pylons.response_options']['headers']['Content-Type'] = None
- The DecoratedController._render_response corrects this situation with most cases.
- However, if pylons.controllers.XMLRPCController is used for instance with TG2, paste.replace_header() generates the exception by response generated from config that TG2 destroyed.
Attachments
Change History
comment:1 Changed 2 years ago by Tomoyuki Kano
- Summary changed from pylons.resonse.headers contains duplicated 'Content-Type' to [PATCH] Overlapping 'Content-Type' is set to pylons.resonse.headers
comment:4 Changed 15 months ago by percious
hmm. This is an interesting problem/solution. Probably it will be good to implement for 2.1.1
comment:5 Changed 15 months ago by percious
- Status changed from new to assigned
- Owner set to percious
Note: See
TracTickets for help on using
tickets.
