Just wondering if there are any plans to allow default preferences to
be picked up from java properties?

So for example, one could define

http.protocol.element-charset=ISO-8859-1

and have that automatically added as the default preference.

An application can of course do this itself, by scanning the system
properties looking for any with the appropriate prefix, or it could
process an httpclient.properties file.

But it might be useful to be able to change the preferences without
needing to write any application code. For example, for embedded
applications.

We're probably going to have to do this anyway for JMeter; of course
the code could be added to HttpClient if it was thought useful (e.g.
we could provide patches).

So: is there any interest in making this part of HttpClient?

And how best to add it?
- scan for prefixed properties
- read props from httpclient-specific property file
- update code to check system property as last resort.

S///

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to