httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <>
Subject Re: Changed information for PR mod_negotiation/94 (fwd)
Date Wed, 26 Feb 1997 04:22:18 GMT
More vary problems...

---------- Forwarded message ----------
Date: Mon, 24 Feb 1997 03:47:57 +0100
From: Tino Wildenhain <wildenht@RZ.PH-Erfurt.DE>
Subject: Re: Changed information for PR mod_negotiation/94

Am 07-Feb-97 schrieb

>Synopsis: LanguagePriority seems to not work, and Accept-Language: fo,bar,*
>with * at end also not.

>State-Changed-From-To: open-feedback
>State-Changed-By: marc
>State-Changed-When: Thu Feb  6 22:43:49 PST 1997
>Should be fixed in revision 1.31 of mod_negotiation.c,
>which will be available in the next beta.
>A patch is available at
>please let me know if it fixes your problem.

Hi Marc,

first the good message: it fixes a little bit:

No Accept: -> browser gets the default 
Accept: de    browser gets german
Accept: de,en,*  browser gets german if possible or en, or ...
Accept: de,*  browser gets englisch hu? schould not be, what?

Current Configuration: 

LanguagePriority de en fr 

but now we can live with it.

But the mod_negotiation seems to have another problem:

the vary-maps dont work at all, I ve set up a test with
a file picture.gif (62079 bytes) and a file picture.jpg (22578 bytes)

now one of the tests:
HEAD /other/picture.var HTTP/1.0
Accept: image/gif;q=0.5;maxbytes=30000, image/jpeg;q=0.4, */*

HTTP/1.1 200 OK
Date: Mon, 24 Feb 1997 04:42:01 GMT
Server: Apache/1.2b7
Connection: close
Content-Type: image/gif
Expires: Mon, 24 Feb 1997 04:42:01 GMT
Last-Modified: Sat, 11 Jan 1997 16:49:31 GMT
ETag: "9864-f27f-32d7c49b"
Content-Length: 62079
Accept-Ranges: bytes

but I expected the picture.jpg here, because the file as .gif
is 62079 bytes and therefore larger than maxbytes.

have you tried this?

| Tino Wildenhain                                     |
| Nordhäuser Str. 63 WH I/113, 99089 Erfurt, Germany  |
| Tel: +49 361 737 1878                               |
|                     |
|                |

View raw message