Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | HTTP POST which results in a redirect does not work | ||||||
---|---|---|---|---|---|---|---|
Product: | ucb | Reporter: | Frank Schönheit <frank.schoenheit> | ||||
Component: | code | Assignee: | thorsten.martens | ||||
Status: | CLOSED FIXED | QA Contact: | issues@ucb <issues> | ||||
Severity: | Trivial | ||||||
Priority: | P3 | CC: | issues | ||||
Version: | current | ||||||
Target Milestone: | OOo 2.3 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
Description
Frank Schönheit
2007-02-28 15:19:29 UTC
2.3, since it's effectively the same target requirement as for issue 74484. Created attachment 43440 [details]
document to reproduce the bug case
accepted I will take a look at this. . Server responds with 302 (Moved temporarily). RFC2616 (HTTP) states re this response: ======================= 10.3.3 302 Found [...] Note: RFC 1945 and RFC 2068 specify that the client is not allowed to change the method on the redirected request. However, most existing user agent implementations treat 302 as if it were a 303 response, performing a GET on the Location field-value regardless of the original request method. The status codes 303 and 307 have been added for servers that wish to make unambiguously clear which kind of reaction is expected of the client. ======================= Thus, I think it is a good idea to change OOo's HTTP client behavior to be like "most existing user agent implementations". Fixed. Now, upon redirect on a POST, a GET will be done. kso->tm: Please verify. checked and verified in cws ucbfixes01 -> OK ! closed |