Browse Prior Art Database

Method Of Handling An Idempotent 302 Redirect with RFC 2616 Compliant Hardware Appliance

IP.com Disclosure Number: IPCOM000183615D
Original Publication Date: 2009-May-29
Included in the Prior Art Database: 2009-May-29
Document File: 2 page(s) / 51K

Publishing Venue

IBM

Abstract

A requesting POST method does not allow a redirect due to the specification of RFC 2616. A hardware appliance solution handles the 302-idempotent redirect resulting from the Post Redirect Get (PRG) pattern.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 93% of the total text.

Page 1 of 2

Method Of Handling An Idempotent 302 Redirect with RFC 2616 Compliant Hardware Appliance

Introduction

The present invention comprises a method of handling an idempotent 302 redirect with a RFC 2616 compliant hardware appliance. The hardware appliance handles the redirect (see Fig.) using the following method:

Method

1. Establish appliance logic to prevent default redirection
2. Identify occurrence of a 302 Post Redirect Get (PRG)
3. Execute a hardware process rule
a. Modify HTTP header information
b. Process redirect

Note: The redirection remedies the specification of RFC 2616, which disallows a requesting POST method to perform a redirect (Section 10.3). Most portal server applications interpret this specification loosely during the login process and allow the idempotent redirection to occur. The problem becomes apparent when a network appliance that adheres to the RFC 2616 emerges in front of such a portal server application. The appliance will not allow for the redirect of an idempotent 302 redirect to a POST method.

Implementation

1. Disable the follow redirect option
2. Create rule Match action on 302 PRG
3. Execute processing rule to call xsl transformation activities
4. Use DP extensions to pull and reset:
a. URL variable
b. Header 'location'
c. 302 moved code

1

Page 2 of 2

METHOD TO HANDLE AN IDEMPOTENT 302 REDIRECT

Client Browser

Multi Protocol

Gateway

Web Application

Post action

Get Action

Allow

Redirect

Execute 302 Ru...