[Grub-dev] question about the (new) workunit format
Bartek Jasicki
thindil2 at gmail.com
Sat Jan 31 22:33:49 UTC 2009
On 2009-01-31, at 22:10:07
Giorgos Logiotatidis <seadog at sealabs.net> wrote:
> Hello everyone,
> I 'm fixing the python client to support the new workunit
> format. I've got some new workunits from the experimental run of the
> dispatch server two days ago. The following is an entry from one of
> these workunits
>
> GET /Fotos/Mayo-05/07-Lula/IMG_2745.JPG HTTP/1.0
> Host: mitago.net
> User-Agent: GrubNG 20080128
> Accept: text/html
>
> and I was wondering... This is a JPG image and we are asking the
> webserver to return text/html. What should the server return? The
> actual image file -which is obviously not text/html- or an error? How
> should the client handle this entry?
>
> Regards,
> Giorgos
>
>
If server cannot send this, should send HTTP error 406 (Not
Acceptable). IMO client should do this request normally (any special
action). So, don't worry ;)
Bartek
More information about the Grub-dev
mailing list