Bug 3121 - HTTPClient redirects POST actions (1GJP1U9)
Summary: HTTPClient redirects POST actions (1GJP1U9)
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: WebDAV (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:49 EDT by Dean Roberts CLA
Modified: 2009-08-18 16:46 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dean Roberts CLA 2001-10-10 22:49:47 EDT
When an HTTP client receives a status response in the range 300 - 399 (inclusive)
    it always attempts to redirect the request (as long as the number of redirects are within
    the allowed range).

    However, this conflicts with the HTTP spec (RFC2616) and causes problems with certain
    server applications (such as source forge).

   Specifically the specification states in section 10.3:

		The action required MAY be carried out by the user agent without interaction
	    with the user if and only if the method used in the second request is
	    GET or HEAD. 

   There is also a specific note for 303 that a POST is redirected as a GET request to
   facilititate login screens.  There is another interesting note that 302 responses are
  erroneously treatede as 303 responses by allmost all existing HTTP clients and that
  servers may rely on this erroneous behavoiur.  (This is the case with SourceForge which
  responds to a Login POST with a 302 and expects the client to do a redirected GET at the
  provided address.
Comment 1 DJ Houghton CLA 2001-10-24 06:45:03 EDT
PRODUCT VERSION:
	Eclipse 0.9

Comment 2 DJ Houghton CLA 2002-06-05 15:11:57 EDT
Deferring until post 2.0
Comment 3 DJ Houghton CLA 2009-08-18 16:44:18 EDT
[LATER->WONTFIX] The "LATER" bugzilla resolution is being removed so reopening
to mark as WONTFIX.
Comment 4 DJ Houghton CLA 2009-08-18 16:45:37 EDT
[LATER->WONTFIX] The "LATER" bugzilla resolution is being removed so reopening
to mark as WONTFIX.
Comment 5 DJ Houghton CLA 2009-08-18 16:46:22 EDT
[LATER->WONTFIX] The "LATER" bugzilla resolution is being removed so reopening
to mark as WONTFIX.