Bug 68541 - POST once then a GET
Summary: POST once then a GET
Status: RESOLVED WORKSFORME
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: http (show other bugs)
Version: unspecified
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-18 23:39 UTC by Derrick J. Wippler
Modified: 2005-03-25 16:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
tcpdump-capture (39.94 KB, text/plain)
2003-11-19 15:00 UTC, Derrick J. Wippler
Details
Post Form (7.44 KB, text/html)
2003-11-19 15:00 UTC, Derrick J. Wippler
Details
Here is the Raw Capture you requested. (3.91 KB, application/octet-stream)
2003-12-04 22:00 UTC, Derrick J. Wippler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Derrick J. Wippler 2003-11-18 23:39:36 UTC
Version:           3.1.4 (using KDE KDE 3.1.4)
Installed from:    Slackware Packages
OS:          Linux

Post request is sent then a GET request is called on the exact same url as soon as the first post response is receaved. This bug is almost identical to bug #39268 except I'm not working through a proxy but our local network.

I have the form page and a tcpdump capture of the actual data. 

Here is an edited snipit.
17:26:19.405305 POST.theatreinfo_rpt.php.HTTP/1.1..Connecti
17:26:19.704956 HTTP/1.1.200.OK..Date:.Tue,.18.Nov.2003.22:
17:26:20.397505 GET./theatreinfo_rpt.php.HTTP/1.1..Connecti
17:26:20.661576 HTTP/1.1.200.OK..Date:.Tue,.18.Nov.2003.22:

If you wish to have the Full Tcpdump log and Form page please e-mail me. 

I have tested this form with Modzilla and IE5.0 both work as expected.

Derrick J. Wippler (Thrawn01)
derrick@logicalsi.com
Comment 1 Thiago Macieira 2003-11-19 01:42:30 UTC
The page URL would be fine, or a small test case if you can create one.
Comment 2 Dawit Alemayehu 2003-11-19 06:54:27 UTC
The only way kio_http would do a GET after a POST is if it gets a redirect response. Does your page redirect to itself ? You can also make the kio_http  dump its request/response headers to file granted that the slackware packages you are using were not compiled with --disable-debug option. To do that you can add the following lines to $KDEHOME/share/config/kdebugrc

[7103]
InfoFilename=/tmp/kio_http.log
InfoOutput=0

[7113]
InfoFilename=/tmp/kio_http.log
InfoOutput=0

Restart KDE and browse the same site. Afterwards look at the contents of the log file. It should clear show the requests sent out and responses received.
Comment 3 Derrick J. Wippler 2003-11-19 14:57:48 UTC
Attempted  as was suggested by Dawit Alemayehu to get an kio_http dump by using the $KDEHOME/share/config/kdebugrc with appropriate options but was unsucessful as no log file was created. I can only assume that the packages I am using were compiled with the --disable-debug option.

That being the Case I have attached a tcpdump of the comunication between apache and konq. Also included is the post-form used. It does not include a redirect. Neather does the target form "theatreinfo_rpt.php", it just returns a pdf file as you can see from the tcpdump. I have censored parts of some packets were indicated however the packet headers are intact.

Cheers,
Derrick J. Wippler (Thrawn01)
-- 
E Pluribus Unix
Comment 4 Derrick J. Wippler 2003-11-19 15:00:18 UTC
Created attachment 3285 [details]
tcpdump-capture
Comment 5 Derrick J. Wippler 2003-11-19 15:00:59 UTC
Created attachment 3286 [details]
Post Form
Comment 6 Dawit Alemayehu 2003-11-26 21:07:40 UTC
Please capture the tcpdump out in raw format, e.g. "tcpdump -w filename" so it can be easily viewed using ethereal...
Comment 7 Derrick J. Wippler 2003-12-04 22:00:44 UTC
Created attachment 3553 [details]
Here is the Raw Capture you requested.

I hope this helps. If you need anything else please let me know. Sorry it took
so long to respond I've been very busy with this new project.

Thanks,
Comment 8 Waldo Bastian 2004-03-31 22:58:29 UTC
I think what happens is that konqueror posts the form, sees that the form returns application/pdf, then starts a pdf viewer to view this pdf and that the pdf viewer does a new GET.

Does your konqueror try to open the pdf in konqueror itself, or in an external pdf viewer?
Comment 9 Waldo Bastian 2005-03-24 19:34:12 UTC
No reply from reporter
Comment 10 Derrick J. Wippler 2005-03-25 16:30:57 UTC
Unreproducible as of KDE3.4 release.