[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 60898] New: http slave doesn't seem to notice errors
From:       Leif Huhn <leif () dkstat ! com>
Date:       2003-07-07 23:33:31
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=60898     
           Summary: http slave doesn't seem to notice errors
           Product: kio
           Version: unspecified
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: http
        AssignedTo: bastian@kde.org
        ReportedBy: leif@dkstat.com


Version:            (using KDE KDE 3.1.2)
Installed from:    SuSE RPMs
OS:          Linux

I'm using the HTTP slave, and the webserver gives me a 403 Permission denied in the \
logs.  The application doesn't care or notice and acts as if it actually saved my \
file.

I tried this in Kate pointing it to http://mywebserver/~leif/story.sav and in the \
apache logs I get:

64.171.250.148 - - [07/Jul/2003:16:16:22 -0700] "PUT /~leif/story.sav HTTP/1.1" 403 \
299

But Kate doesn't notice something bad happened.

Also, if I run:

KURL url("http://mywebserver/~leif/story.sav");
KURL temporaryLocalFilename;
temporaryLocalFilename.setPath("/tmp/notalocalfile"); // This is a zero byte file BTW
kdDebug() << KIO::NetAccess::copy(temporaryLocalFilename, url) << endl;
kdDebug() << KIO::NetAccess::lastErrorString() << endl;

I get the results:

programname: true
programname:

This problem also seems to apply to "405 Method not allowed"  I have not checked \
other error conditions.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic