Hi, [EMAIL PROTECTED] schrieb: > > Johannes Koch wrote > > >Cocoon 1.8.2 only uses the User-Agent header for mapping clients to > >device client classes. As the Kannel doesn't add something to the > >client's User-Agent header, you can't recognize the Kannel > > Thanks for the input. > > I have to apologize but I did'nt understand. > > What's this User-agent header? And does it > mean that Nokia, UPSDK and R380 send such > User-Agent headers (whatever it means)?
Read about HTTP headers in the HTTP 1.1 specification: <http://www.w3.org/Protocols/rfc2068/rfc2068> Nokia Toolkit 3.0, when using the WAP 1.2.1 Conformance simulator, sends User-Agent: Nokia-MIT-Browser/3.0 > In short what I want is just as > cocoon is able to recognize that the > request is coming from Nokia, UPSDK > or Ericsson R380, which it does - as I told you - by looking at the 'User-Agent' HTTP header. > cocoon should also > be able to recognize that the request > is coming from Kannel. I can make- if > so desired- changes in the coding of > both Cocoon and Kannel (I have the > source code of both available). > > So what modifications should I make > on either side (Kannel or Cocoon) > including any modifications in coding > (if necessary) to make Cocoon > recognize that the request is coming > from Kannel Well, you could make your Kannel to add something to the User-Agent header. -- Johannes Koch . IT Developer Pixelpark AG . http://www.pixelpark.com Rotherstraße 8 . 10245 Berlin . Germany phone: +49 30 5058 - 1288 . fax: - 1355 --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>