httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@znep.com>
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>
To: marc@hyperreal.com
Subject: Re: Changed information for PR mod_negotiation/94

Am 07-Feb-97 schrieb marc@hyperreal.com:

>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
>State-Changed-Why:
>Should be fixed in revision 1.31 of mod_negotiation.c,
>which will be available in the next beta.
>A patch is available at
>"http://www.apache.org/dist/patches/apply_to_1.2b6/", 
>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?

regards,
-- 
*-----------------------------------------------------*
| Tino Wildenhain                                     |
| Nordhäuser Str. 63 WH I/113, 99089 Erfurt, Germany  |
| Tel: +49 361 737 1878                               |
| http://www.home.pages.de/~cdTv/                     |
| mailto:wildenht@komm.rz.ph-erfurt.de                |
*-----------------------------------------------------*



Mime
View raw message