[josm-dev] Getting JOSM to do 0.6 properly

Martijn van Oosterhout kleptog at gmail.com
Mon May 12 17:01:03 BST 2008


One of the things API 0.6 will require is that DELETE requests can
have a payload. While the documentation states it nowhere, at least
the Sun Java implementation doesn't allow it. There's a hack in place
to make it work, but now it will *only* work on the Sun Java
implementation, which sucks. Now, there is the apache HttpClient which
does everything we want, but it requires some 400k of JAR files.

Is this worth it?

Now, it does exactly what we want with barely any code, and it
supports pipelining, HTTPS, cookies and all sorts of other nice
features we might want to use in the future, so that may make it worth
it.

http://hc.apache.org/httpclient-3.x/features.html

On the other hand, perhaps we could try making a stripped down version.

The more troubling is that it is Apache2.0 licence, which isn't GPL2
compatable (it is GPL3 compatable). However, since we ship the JAR
files wouldn't that consistute "mere aggegation"?

What do people think? Any other library suggestions?

Have a nice day,
-- 
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/




More information about the josm-dev mailing list