> So, if this is right, what do you think on add something like this as > header line in Pivot HTTP query: > User-Agent: Apache-Pivot/1.5
> probably also other headers could be useful to set, like: > Accept with the mime type of the current serializer, > Accept-Charset with the charset of the current serializer, > Accept-Encoding if we are able to handle compressed answers ... anyone > has tried with an xml or json gzipped by the server ? > Accept-Language with the user locale (if not english) and en as last, > Referer with the current URL in case of Applets, > etc ... but this could require additional discussions, and probably > not for the 1.5 release. > Or could be set when desired with some utility methods. I think this is best left to the application. The caller can set these values using the request header dictionary of the Query object, if the application requires it. Otherwise, the defaults provided by the JRE are probably OK. G