Project

Profile

Help

Task #149

closed

Create 1.4 compatible HttpResponseRedirect object that allows the body to be set.

Added by bmbouter about 9 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Sprint Candidate:
Tags:
Pulp 2
Sprint:
February 2015
Quarter:

Description

A handful of Pulp URLs want to return redirect objects and also set the body contents in that redirect. This is not possible in Django 1.4. This is further complicated because newer versions of Django have made some backwards incompatible changes in this area making it difficult to create one object that will provide this functionality in multiple version of Django. The easiest thing to do is to backport a compat version of the 1.5+ HttpResponseRedirect behaviors so that it can be used by Django 1.4. It won't be very difficult, but it needs to be done.

This will block a handful of URLs until this helper object can be made.

Also available in: Atom PDF