18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Images get status 204 - no content

kubal5003kubal5003 Members
edited November -1 in Sahi - Open Source
Hello,

I'm trying to test a site that runs on IIS. When I open it in Chrome (without Sahi) everything is displayed correctly, however if I open the site with sahi then all images get
204 - no content.

I've tried the solution in another post about 204:
viewtopic.php?id=3218 (cannot post links)

and it didn't work.

What can I do about this?
Console dump:
wklej.eu/index.php?id=946ff9f38b

Comments

  • Hi kubal5003,

    It looks like the images are being downloaded by Sahi because of an incorrect content-type for the images.
    Ideally, I would suggest that you talk to your development team and fix this issue.

    As a temporary workaround, you could fix it by
    [list=*]
    [*]Click on "Configure" on Sahi's dashboard[/*]
    [*]Click on "download_contenttypes.txt"[/*]
    [*]Remove application/octet-stream from the list[/*]
    [*]Click Save and restart Sahi[/*]
    [/list]

    Regards,
    dkulkarni
Sign In or Register to comment.