[Kget] [Bug 128998] don't handle 302 response correctly
Costantino Leandro
lcostantino at gmail.com
Thu Jun 15 02:37:40 CEST 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=128998
------- Additional Comments From lcostantino gmail com 2006-06-15 02:37 -------
Can you test it again?
I tested it and work's ok, in fact that log
============================================================================
20:49:25 : Copy file from: http://media-portal.ru/video/ref.cfm?fid=1223
20:49:25 : To: file:///tmp/war.avi
20:49:36 : Attempt number 1
20:49:37 : media-portal.ru contacted. Waiting for reply...
20:49:37 : File Size checked
20:49:37 : Retrieving 152 B from media-portal.ru...
20:49:37 : media-portal.ru contacted. Waiting for reply...
20:49:37 : The file or folder http://media-portal.ru/videofiles/RUS%20-%20%C3%82%C3%AE%C3%A9%C3%AD%C3%A0.avi does not exist.
===========================================================================
Indicates that 302 was handled ok, cause it's trying to download the .avi that is the "temporary location" when you reach /video/ref.cfm?fid=1223
Anyway, if you try many times the connection, media-portal will forbide your ip address, and may be that's why you are getting a Not Found.
Kget, uses FileCopyJob, and kioslave http will handle the connection. Http RFC say's that 403 can be handled as a Not Found in some cases.
If you wanna test it, try this little "Patch", that will show Access Denied when a 403 response code is reached.
More information about the Kget
mailing list