PUT of a single image

Hi

It is possible to open a resource of type image/gif or image/png in 
Amaya.

If you then hit "save as", everything looks as if the image itself will 
be saved. Indeed, this is what happens if you save the file local on 
the disk or if the viewed image is a file on the local disk. However if 
you save it on a server using PUT _and_ the image is a remote resource 
fetched with GET, then the HTML document Amaya uses internally to show 
the image (if I understand that correctly) gets sent instead of the 
image itself. (It even gets sent as Content-type image/gif or 
image/png.) I.e. it sends something like:

<html><head><title>eingerollt.png</title></head><body><img 
src="internal:http://www.andonyar.com/stylesheets/eingerollt.png" 
alt="image"></body></html>

Steps to reproduce:
1. Load an image from a remote HTTP server
2. Save the image with "File"->"save as" on a remote HTTP Server
3. Load the saved image in Amaya or any other Browser

I did not test it with other image formats such as jpg. I am using the 
(to the time of writing this) HEAD revision from the CVS repository, on 
Linux (Debian Etch).

Greetings
Urs

Received on Wednesday, 6 February 2008 17:08:33 UTC