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

List:       konq-bugs
Subject:    [Bug 252691] New: HTTP 404 response code with Content-Type: image/png
From:       Andrea Iacovitti <aiacovitti () libero ! it>
Date:       2010-09-28 21:16:51
Message-ID: bug-252691-5021 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=252691

           Summary: HTTP 404 response code with Content-Type: image/png
           Product: konqueror
           Version: 4.5.1
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: khtml
        AssignedTo: konq-bugs@kde.org
        ReportedBy: aiacovitti@libero.it


Created an attachment (id=52055)
 --> (http://bugs.kde.org/attachment.cgi?id=52055)
online testcase

Version:           4.5.1 (using KDE 4.5.1) 
OS:                Linux

Konqueror doesn't render image when received as Content of a 404 error.
Noticed while browsing http://packages.debian.org/lenny/kdelibs : on the right
side of the page, under "Links for kdelibs", an image with debian logo and the
"no screenshot available" sign must be showed, that's because the package has
no screenshot image uploaded.

Server response, related to image request, is:
    HTTP/1.1 404 Not Found\r\n
    Server: nginx/0.7.64\r\n
    Date: Tue, 28 Sep 2010 19:32:22 GMT\r\n
    Content-Type: image/png\r\n
    Connection: keep-alive\r\n
    Cache-Control: public, max-age=86400\r\n
    Pragma: \r\n
    Content-Length: 6178
    \r\n


Reproducible: Always

Steps to Reproduce:
Load the attached testcase, the content of which is:
<html>
   <img src="http://screenshots.debian.net/thumbnail/foo">
</html>

(http://screenshots.debian.net/thumbnail/foo refers to a non existing resource)

Actual Results:  
Broken image icon is showed.

Expected Results:  
Error image ("no screenshot available") must be showed.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

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