Summary: | don't handle 302 response correctly | ||
---|---|---|---|
Product: | [Applications] kget | Reporter: | Stanley Jones <rst> |
Component: | general | Assignee: | KGet authors <kget> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | Keywords: | investigated, triaged |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Just show an Access Denied when 403 response code is reached. |
Description
Stanley Jones
2006-06-11 19:04:56 UTC
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. Created attachment 16617 [details]
Just show an Access Denied when 403 response code is reached.
Would be nice that http returns a Access Denied on 403 response code, even that
the rfc say's that in some cases, when there is no entity with information
about why the server forbid access, it a little more clear than a Not Found,
cause servers can ban ip temporarly.......
Sorry for the delay with response. Your test can't be successfull because media-portal.ru have IP restriction to russian IPs only. So it will be always 403 for you. Can u please test this with KGet2 (KDE4-Version)? Thanks Lukas No responsem, marking as needsinfo... Lukas Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |