cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bernhard huber" <>
Subject Re: Request headers
Date Mon, 26 Jul 2004 13:53:26 GMT
>     Ugo> Colin Paul Adams wrote:
>     >> <pattern name="xhtml">^.*application/xhtml\+xml.*$</pattern>
>     Ugo> Wouldn't 
>     Ugo>   	<pattern name="xhtml">application/xhtml\+xml</pattern>
>     Ugo> have the same effect? I think it should.
> Yes - it does.
I was checking the header accept sent by mozilla, it says:
accept =

thus checking if application/xml is available you need some sort of RE,
that's the reason for using plain HeaderSelector is a bit tedious.

for the documentation, and testcase templete you will probably
need CVS access.
documentation template :
or src/documentation/xdocs/userdocs/selectors/selector.template.

testcase template :

Copy to, dito
for RegexpHeaderSelectorTestCase.xtest.
Adopt RegexpHeaderSelectorTestCase.xtest replacing all HeaderSelector
occurences by RegexpHeaderSelector
Adopt to your header testings

Add both docu + testcase to the bugzilla

regards bernhard

250 MB Mailbox, 100 FreeSMS/Monat, 1000 MB Online-Festplatte
Jetzt GMX TopMail kostenlos testen

View raw message