You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Julian Reschke <ju...@gmx.de> on 2007/05/01 14:41:45 UTC
Re: User-Agent information within Store implementation
Padmanabhan_Sheeba@emc.com wrote:
> Hi,
>
> Is there any way I can get the "user-agent" information of the request
> within my Data Store implementation. I couldn't find a way where this
> information is passed in to the store implementation. I want to extend
> the data store to use our own repository and would like to handle files
>>from certain clients in a special way.... and would like to get the
> client information at this point... Any suggestion?
>
> Any help would be greatly appreciated.
>
> Thanks
>
> Sheeba Padmanabhan
Using the "User-Agent" header smells like a very bad design decision.
Maybe you could elaborate why you think you need that?
Best regards, Julian
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: User-Agent information within Store implementation
Posted by Julian Reschke <ju...@gmx.de>.
Padmanabhan_Sheeba@emc.com wrote:
> Well.... Apple Double format is just one of the use cases..
>
> But we will need to do some specific data storage handling if the
> request is from a certain client.... Other than the "user-agent"
> information, is there any way I can get this information within the data
> storage?
I don't think so, and I still think that changing the behaviour of the
storage layer depending on the user agent's name is a very bad idea.
So what are the other use cases?
Best regards, Julian
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
RE: User-Agent information within Store implementation
Posted by Pa...@emc.com.
Well.... Apple Double format is just one of the use cases..
But we will need to do some specific data storage handling if the
request is from a certain client.... Other than the "user-agent"
information, is there any way I can get this information within the data
storage?
Thanks
Sheeba Padmanabhan
-----Original Message-----
From: Julian Reschke [mailto:julian.reschke@gmx.de]
Sent: Tuesday, May 01, 2007 5:24 PM
To: Slide Users Mailing List
Subject: Re: User-Agent information within Store implementation
Padmanabhan_Sheeba@emc.com wrote:
> Hi Julian,
>
> Thanks a lot for the reply... Will the mime type reflect the client
> information? I thought that is more for the content type information?
It will (well, should) reflect the type of the content. Doesn't the
"Apple Double" format have its own content type?
Best regards, Julian
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: User-Agent information within Store implementation
Posted by Julian Reschke <ju...@gmx.de>.
Padmanabhan_Sheeba@emc.com wrote:
> Hi Julian,
>
> Thanks a lot for the reply... Will the mime type reflect the client
> information? I thought that is more for the content type information?
It will (well, should) reflect the type of the content. Doesn't the
"Apple Double" format have its own content type?
Best regards, Julian
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
RE: User-Agent information within Store implementation
Posted by Pa...@emc.com.
Hi Julian,
Thanks a lot for the reply... Will the mime type reflect the client
information? I thought that is more for the content type information?
Thanks
Sheeba Padmanabhan
-----Original Message-----
From: Julian Reschke [mailto:julian.reschke@gmx.de]
Sent: Tuesday, May 01, 2007 11:42 AM
To: Slide Users Mailing List
Subject: Re: User-Agent information within Store implementation
Padmanabhan_Sheeba@emc.com wrote:
> Hi Julian,
>
> Thank you so much for the reply...
>
> One of the use cases is the way we store the data fork and resource
> forks into our repository... Sometimes we use to create an apple
double
> file out of it before sending it off to the repository.. So we need to
> know the request is from MacOS...
But that's a matter of MIME type, not user agent, right?
> The other one is - in some cases the session handling within our
> repository need to be different for some clients...
It shouldn't.
> So If I am not using the 'user-agent' info, is there any other way to
> figure out the client info within the data store implementation?
Best regards, Julian
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: User-Agent information within Store implementation
Posted by Julian Reschke <ju...@gmx.de>.
Padmanabhan_Sheeba@emc.com wrote:
> Hi Julian,
>
> Thank you so much for the reply...
>
> One of the use cases is the way we store the data fork and resource
> forks into our repository... Sometimes we use to create an apple double
> file out of it before sending it off to the repository.. So we need to
> know the request is from MacOS...
But that's a matter of MIME type, not user agent, right?
> The other one is - in some cases the session handling within our
> repository need to be different for some clients...
It shouldn't.
> So If I am not using the 'user-agent' info, is there any other way to
> figure out the client info within the data store implementation?
Best regards, Julian
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
RE: User-Agent information within Store implementation
Posted by Pa...@emc.com.
Hi Julian,
Thank you so much for the reply...
One of the use cases is the way we store the data fork and resource
forks into our repository... Sometimes we use to create an apple double
file out of it before sending it off to the repository.. So we need to
know the request is from MacOS...
The other one is - in some cases the session handling within our
repository need to be different for some clients...
So If I am not using the 'user-agent' info, is there any other way to
figure out the client info within the data store implementation?
Thank you so much,
Sheeba
-----Original Message-----
From: Julian Reschke [mailto:julian.reschke@gmx.de]
Sent: Tuesday, May 01, 2007 8:42 AM
To: Slide Users Mailing List
Subject: Re: User-Agent information within Store implementation
Padmanabhan_Sheeba@emc.com wrote:
> Hi,
>
> Is there any way I can get the "user-agent" information of the request
> within my Data Store implementation. I couldn't find a way where this
> information is passed in to the store implementation. I want to extend
> the data store to use our own repository and would like to handle
files
>>from certain clients in a special way.... and would like to get the
> client information at this point... Any suggestion?
>
> Any help would be greatly appreciated.
>
> Thanks
>
> Sheeba Padmanabhan
Using the "User-Agent" header smells like a very bad design decision.
Maybe you could elaborate why you think you need that?
Best regards, Julian
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org