You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by hi...@apache.org on 2012/02/01 00:41:24 UTC
svn commit: r1238863 [2/3] - in
/ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0: ./
src/ src/contrib/ src/contrib/org/ src/contrib/org/apache/
src/contrib/org/apache/commons/ src/contrib/org/apache/commons/httpclient/
src/contrib/or...
Added: ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/RELEASE_NOTES.txt
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/RELEASE_NOTES.txt?rev=1238863&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/RELEASE_NOTES.txt (added)
+++ ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/RELEASE_NOTES.txt Tue Jan 31 23:41:22 2012
@@ -0,0 +1,773 @@
+Release 3.0
+-------------------
+Changes since Release Candidate 4:
+
+ * 37526 - Fixed incorrect processing of HTTP parameters with an
+ empty name
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 37256 - Fixed bug causing MultipartRequestEntity to miscalculate the
+ total content length if any of the parts returns a negative
+ content length value
+ Contributed by Loïc Péron <loic.peron at bigfoot.com>
+
+ * 37197 - Preemptive auth flag no longer disregarded when tunneling
+ SSL connections via a proxy
+ Contributed by wynand <wolman at gmail.com>
+
+ * 37154 - UsernamePasswordCredentials.equals(null) no longer causes NPE
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 37129 - HttpConnection changed to use a protocol socket factory registered
+ for 'http' protocol instead of DefaultProtocolSocketFactory when
+ connecting to a proxy to establish a secure tunnel
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+Release 3.0 Release Candidate 4
+-------------------
+Changes since Release Candidate 3:
+
+ * 36882 - Max connections per host setting did not work
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 36791 - Fixed HttpConnection#isOpen flag concurrency problem
+ Contributed by Jean-Marie White <jmwhite5 at yahoo.com>
+
+ * 36339 - Request is no longer retried if preemptive authentication fails
+ and Basic is the only supported authentication scheme advertised
+ by the target server
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 36372 - nonce-count in digest auth should not be quoted
+ Contributed by Ortwin Glueck <oglueck at apache.org>
+
+ * 36369 - Custom Proxy-Connection header no longer gets overwritten
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 36595 - Do not attempt to retry aborted methods
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 36140 - ParameterParser changed to correctly differentiate between empty and
+ null (no value) parameters
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 35085 - HTTP 204 "NO CONTENT" response no longer results in dropped
+ connection.
+ Contributed by Ian Bray <Ian.Bray at logicacmg.com>
+
+ * 35944 - Connection always gets released back to the pool even if an unchecked
+ exception is thrown in HttpMethod#releaseConnection method.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 35642 - Do not retry if host is unreachable. This ensures a connection timeout
+ will be obeyed.
+ Contributed by Ortwin Glueck <oglueck at apache.org>
+
+ * 35815 - SimpleHttpConnectionManager now logs warnings when it detects it is
+ being used incorrectly.
+ Contributed by Michael Becke <mbecke at apache.org>
+
+Release 3.0 Release Candidate 3
+-------------------
+Changes since Release Candidate 2:
+
+ * 35365 - Added #hashCode and #equals methods for Credentials implementations
+ Contributed by Eric Johnson <eric at tibco.com>
+
+ * 35322 - Stale connection check now correctly works with IBM JSSE/JRE 1.4.x
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 35225 - Fixed a major problem with the browser compatibility policy leaking cookies
+ to 3rd party domains (.mydomain.com -> .notmydomain.com)
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 35328 - DateUtil#formatDate changed to US locale instead of system default
+ Contributed by Yannick <yannick at meudal.net>
+
+ * 34960 - DigestScheme changed to take into account charset attribute when available
+ (Known to be used by Microsoft implementation of the Digest auth scheme)
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 35148 - HttpClient now correctly handles relative URIs beginning with a colon.
+ Contributed by Gordon Mohr <gojomo at archive.org>
+
+ * 34961 - HttpClient now correctly handles escaped characters in HTTP header elements
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 34780 - HttpClient now always overrides the host of HostConfiguration if an absolute
+ request URI is given
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 34740 - Connection with the proxy is not reopened if an proxy auth failure occurs
+ while SSL tunnel is being established
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 34721 - Virtual host setting is now correctly applied when parsing and matching
+ cookies
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 34583 - DateUtil.formatDate() changed to use GMT instead of the default timezone
+ Contributed by Fred Bierhaus <fred.bierhaus at vodafone.com>
+
+ * 34459 - Always use the chunk encoding when request content length cannot be
+ determined (is negative)
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 34427 - Fixed the bug causing an IllegalStateException in AuthState
+ triggered by the combination of preemptive proxy authentication
+ and a cross-site redirect
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+Release 3.0 Release Candidate 2
+-------------------
+Changes since Release Candidate 1:
+
+ * 34255 - Preemptive authentication no longer causes NTLM auth scheme to fail
+ Contributed by Michael Becke <mbecke at apache.org>
+
+ * 33720 - Fixed the problem with HttpMethod#getURI applying URL escaped encoding to
+ already encoded URIs
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 34262 - Fixed broken handling of responses that may not include an entity body
+ (status code 204, 304)
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * ----- - Fixed broken InputStreamRequestEntity#isRepeatable method
+ Contributed by Matthew-J Watson <matthew-j.watson at db.com>
+
+ * 33677 - Fixed the bug preventing the HTTP retry handler from handling
+ ConnectionExceptions
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 33988 - All classes overriding Object#hashCode & Object#equals methods have been reviewed
+ regarding their hashCode/equals contract compliance
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 33947 - Exception in HttpConnection because of unchecked buffer size
+ Contributed by Ortwin Glueck <oglueck at apache.org>
+
+ * 33856 - Fixed the problem with the credential-charset parameter not having an effect on
+ the encoding of the NTLM credentials
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 33541 - Fixed the problem with host level parameters having no effect on HTTP CONNECT
+ methods
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 33468 - HttpClient no longer flushes the request line and request headers prior to
+ writing the request body if the 'expect: continue' handshake is not used
+ Contributed by Peter Tolmachov <peter.tolmachov at agfa.com>
+
+Release 3.0 Release Candidate 1
+-------------------
+Changes since Beta 1:
+
+ * 32833 - Cookie with domain .mydomain.com were not sent to host mydomain.com
+ in the browser compatibility mode
+ Contributed by David D. Kilzer <ddkilzer at kilzer.net>
+
+ * 33021 - Fixed the bug causing the circular redirect if different query parameters
+ are used in the redirect location.
+ Contributed by Ilya Kharmatsky <ilyak at mainsoft.com>
+
+ * 32955 - Fixed the bug effectively disabling the stale connection check
+ Contributed by Oliver Koell <oko at newbase.de>
+
+ * 32835 - The two digit year greater than 20 no longer causes the cookie expiry date
+ to be interpreted as a date between 1920 and 1999
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 32607 - Fixed the problem with ReflectionSocketFactory ignoring the local address of
+ HostConfiguration
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 32409 - HttpState now has new methods for clearing all cookies and credentials.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 32558 - Fixed retry count bug in DefaultMethodRetryHandler
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 32333 - Connection is now closed upon "Connection: close" request,
+ if the server does not include an explicit connection
+ directive in the response.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 32765 - Fixed NullPointerException in HostConfiguration.setHost(Sting)
+ Contributed by Stuart Herring <apache at stuartherring.com>
+
+ * 32742 - Fixed the problem with SO_TIMEOUT parameter having no effect
+ on the method level.
+ Contributed by Ilya Kharmatsky <ilyak at mainsoft.com>
+
+Release 3.0 Beta 1
+-------------------
+Changes since Alpha 2:
+
+ * 31929 - Added support for formatting dates. Deprecated DateParser in
+ favor of DateUtil.
+ Contributed by Michael Becke <mbecke at apache.org>
+
+ * ----- - HostConfiguration.isHostSet() and Hostconfiguration.isProxySet() have been
+ deprecated.
+
+ * 31981 - Fixed the bug causing an infinite loop in HttpMethodDirector
+ when using SSL + proxy + host auth + keep alive off
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 31607 - Catch SocketTimeoutException not InterruptedIOException when running
+ in JRE >=1.4
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 31471 - HostConfiguration refactored
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * ----- - ContentLengthInputStream no longer supports mark() & reset() methods. Old
+ broken implementation removed.
+ Contributed by Eric Johnson <eric at tibco.com>
+
+Release 3.0 Alpha 2
+-------------------
+Changes since Alpha 1:
+
+ * 10793 - Configurable default headers
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 30652 - Configurable SO_LINGER
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 31163 - CookieSpec classes made stateful
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 21329 - Added input buffering to improve performance
+ Contributed by Bjarne Rasmussen <brasmussen at novell.com>
+
+ * 29897 - Connection output buffer is set to a value not greater than 2k
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 29636 - MultiThreadedHttpConnectionManager now support configuring the maximum
+ number of connections on a per host basis.
+ Contributed by Michael Becke <mbecke at apache.org>
+
+ * 29874 - Deprecated old HTTP method retry handler based on HttpRecoverableException
+ and replaced it with a new one that acts upon plain IOExceptions
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 29883 - Fixed handling of multi-byte characters in the StringRequestEntity class
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 29383 - Added method to delete closed connections from the connection pool
+ Contributed by Michael Becke <mbecke at apache.org>
+
+ * 29549 - Split wire log into header and body parts
+ Contributed by Michael Becke <mbecke at apache.org>
+
+ * 29540 - Fixed credentials scope matching algorithm in HttpState#matchCredentials.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 29439 - Cleaner interface to define authentication scope, handle credentials in HttpState.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 29377 - Cookies with names containing blanks or starting with $ rejected by RFC2109 spec only.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+Release 3.0 Alpha 1
+-------------------
+
+New features:
+-------------
+
+(1) Architecture
+
+ * New preference architecture
+
+ * Improved exception handling framework
+
+ * Granular non-standards configuration and tracking
+
+ * Improved HTTP Version configuration and tracking
+
+ * Support for streaming entities
+
+ * Support for tunneled HTTP proxies via the ProxyClient
+
+ * Ability to abort execution of HTTP methods
+
+(2) Connection management
+
+ * Support for closing idle connections
+
+ * Support for JDK1.4 connect timeout through reflection
+
+ * Support for connection manager shutdown
+
+(3) Authentication
+
+ * Improved authentication framework
+
+ * Plug-in mechanism for authentication modules
+
+ * Interactive authentication support
+
+ * Alternate authentication support
+
+(4) Cookie management
+
+ * Cookie specification plug-in mechanism
+
+ * 'Ignore cookies' cookie policy
+
+ * Improved Netscape cookie support
+
+(5) Redirects
+
+ * Cross-site redirect support
+
+Changes on the CVS trunk:
+-------------------------
+
+ * 29265 - HttpConnection.isOpen() no longer logs closed connections as stale.
+
+ * 28645 - Moved/added content type handling to the RequestEntity.
+ Contributed by Michael Becke <mbecke at apache.org>, Oleg Kalnichevski <olegk at apache.org>
+
+ * 20288 - Added ability to abort execution of HTTP methods
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 24154 - Socket timeout can be specified at the connection manager, connection or method level
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 16124 - HTTP protocol version can be specified at the client, host or method level
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 28728 - HttpUrl now accepts unescaped passwords
+ Contributed by Michael Becke <mbecke at apache.org>
+
+ * 28626 - Fixed ArrayIndexOutOfBoundsException in HttpStatus.getStatusText()
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 26070 - Added support for streaming entities
+ Contributed by Michael Becke <mbecke at apache.org>
+
+ * 28566 - CookieSpec interface extended to expose path & domain matching methods; browser compatibility domain
+ matching algorithm modified to mimic the (mis-)behavior of common browsers
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 25372 - Added support for closing idle connections
+ Contributed by Michael Becke <mbecke at apache.org>, Oleg Kalnichevski <olegk at apache.org>
+
+ * 28322 - Redesign of connect timeout logic; Added support for JDK1.4 connect timeout through reflection
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 28151 - Added stand-alone support for tunneled HTTP proxies via the ProxyClient
+ Contributed by Michael Sample <m_sample at canada.com>, Michael Becke <mbecke at apache.org>
+
+ * 21216 - Fixed the problem of redirect 302 to the same URL causing max redirects exception: circular redirect
+ check added; the circular redirect check is on per default and in lenient mode, is off in strict mode
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 27589 - Added MultiThreadedHttpConnectionManager shutdown() and shutdownAll()
+ Contributed by Michael Becke <mbecke at apache.org>
+
+ * 25529 - Redesign of HTTP authentication framework
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * Better implementation of ChunkedOutputStream: writes are buffered to an internal buffer (2048 default size);
+ chunks are guaranteed to be at least as large as the buffer size (except for the last chunk)
+ Contributed by Mohammad Rezaei <mohammad.rezaei at gs.com>, Goldman, Sachs & Co
+
+ * HttpMethod#getResponseBody & HttpMethod#getResponseBodyAsString changed to propagate IOException to the caller
+ instead of logging and discarding it
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 10794 - Added interactive authentication support; Authentication realm key is now comprised of host name, port,
+ realm name and authentication type
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 15297 - Added ability to perform alternate authentication
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 16881 - HttpClient made dependent on Commons-codec to perform Base64 and URL encoding/decoding
+ Contributed by Michael Becke <mbecke at apache.org>, Oleg Kalnichevski <olegk at apache.org>
+
+ * 24560 - Fixed the problem of HttpClient looping endlessly while trying to retrieve status line
+ Contributed by Christian Kohlschuetter <ck at rrzn.uni-hannover.de>
+
+ * 24671 - Added support for configuring charsets in credentials and HTTP headers
+ Contributed by Michael Becke <mbecke at apache.org>
+
+ * Plug-in mechanism for authentication modules
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * Added infrastructure to create test cases that involve use of a proxy
+ Contributed by Ortwin Glueck <oglueck at apache.org>
+
+ * UserNamePasswordCredentials & NTCredentials made immutable
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 24869 - DigestScheme now only accepts a challenge if all fields required by RFC 2617 are present
+ Contributed by Ortwin Glueck <oglueck at apache.org>
+
+ * New framework for server based tests
+ Contributed by Christian Kohlschuetter <ck at rrzn.uni-hannover.de>, Ortwin Glueck <oglueck at apache.org>
+
+ * Socket input stream now wrapped with a wrapper class that re-throws certain type of generic IO exceptions as HttpClient
+ specific exceptions. Improved handling of 'used' connections (known to have successfully completed an I/O operation).
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 24012 - Added IgnoreCookiesSpec.
+ Contributed by Michael Becke <mbecke at apache.org>
+
+ * 24018 - Cookie and Authorization headers can now be set manually.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 21151 - Cookie specification plug-in mechanism
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * Reworked DigestScheme: the qop Parameter is parsed correctly and not just ignored; missing qop is handled correctly
+ Contributed by Ortwin Glueck <oglueck at apache.org>
+
+ * 10790 - Implemented granular non-standards configuration and tracking.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>, Michael Becke <mbecke at apache.org>,
+ Roland Weber <rolweber at de.ibm.com>, Ortwin Glueck <oglueck at apache.org>,
+ Adrian Sutton <adrian.sutton at ephox.com>
+
+ * 15435 - Implemented new preference architecture.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>, Michael Becke <mbecke at apache.org>,
+ Roland Weber <rolweber at de.ibm.com>, Ortwin Glueck <oglueck at apache.org>,
+ Adrian Sutton <adrian.sutton at ephox.com>
+
+ * Deprecated the use of system properties: 'httpclient.useragent',
+ 'httpclient.authentication.preemptive'.
+
+ * Refactored NameValuePair#equals method.
+ Contributed by Ortwin Glueck <oglueck at apache.org>
+
+ * 16729 - Refactored retry/redirect/authentication logic.
+ Contributed by Michael Becke <mbecke at apache.org>
+
+ * Added support for disabling HttpConnection.isStale()
+ Contributed by Michael Becke <mbecke at apache.org>
+
+ * 10791 - Improved HTTP Version configuration and tracking.
+ Contributed Oleg Kalnichevski <olegk at apache.org>, Laura Werner <laura at lwerner.org>,
+ Michael Becke <mbecke at apache.org>
+
+ * 21880 - Content-Length & Transfer-Encoding request headers formerly set by abstract
+ HttpMethodBase class are handled by entity enclosing methods.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 17947 - HttpMethod#setURI method added.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 19618 - URI constructors refactored.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 11240 - Fixed the problem of cookies with ',' in the value string not parsed correctly in some cases
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+ * 21323 - Support for large(long) content added
+ Contributed by Michael Becke <mbecke at apache.org>
+
+ * 19868 - Exception handling framework reworked.
+ Contributed by Adrian Sutton <adrian.sutton at ephox.com>, Laura Werner <laura at lwerner.org>,
+ Oleg Kalnichevski <olegk at apache.org>, Michael Becke <mbecke at apache.org>
+
+ * 21210 - Header parser completely rewritten.
+ Improved handling of Netscape draft compatible cookies
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+Release 2.0.1
+-------------------
+Changes since Release 2.0
+
+ * 30175 - Fixed StringIndexOutOfBoundsException in StatusLine
+
+ * 29897 - Connection output buffer is set to a value not greater than 2k
+
+ * 29549 - Split wire log into header and body parts
+
+ * 29377 - Cookies with names containing blanks or starting with $ rejected by RFC2109
+ spec only.
+
+ * 29265 - HttpConnection.isOpen() no longer logs closed connections as stale.
+
+ * 28728 - HttpUrl now accepts unescaped passwords
+
+ * 28626 - Fixed ArrayIndexOutOfBoundsException in HttpStatus.getStatusText()
+
+ * 27589 - Added MultiThreadedHttpConnectionManager shutdown() and shutdownAll().
+
+ * HttpMethod#recycle() has been deprecated.
+
+Release 2.0
+-------------------
+Changes since Release Candidate 3:
+
+ * 26500 - Socket timeout is now correctly set on open connections
+
+ * 26328 - Fixed getScheme() and getPort() returning wrong defaults for HttpsURL
+
+ * 26139 - Fixed possible connection leak caused by lack of equals() and hashCode() on protocol
+ socket factories
+
+ * 26688 - Fixed the problem with HttpURL creating wrong authority String when user info is changed
+
+Release 2.0 Release Candidate 3
+-------------------
+Changes since Release Candidate 2:
+
+ * HTTP status line parser changed to be more robust when dealing with non-compliant
+ HTTP responses (leading blanks before 'HTTP' signature).
+
+ * Fixed NPE in HttpMethodBase#responseBodyConsumed().
+
+ * 24309 - Changed MultiThreadedHttpConnectionManager to move to a single connection
+ GC thread. Fixed memory and thread leaks.
+
+ * 24327 - Fixed a bug where HttpClient did not reset the 'force-close connection'
+ flag, when an HTTP method was automatically retried (for instance, when automatically
+ handling an authentication challenge).
+
+ * 24352 - Fixed the bug causing basic authentication via NLTM Proxy to fail.
+
+ * 25370 - Connections are now closed and released automatically when an unrecoverable
+ exception occurs in HttpMethodBase.processRequest().
+
+ * 23866 - Fixed possible uncaught IllegalArgumentException in Cookie parsing.
+
+ * 25264 - Added support for cookies with a domain attribute '.domain.com' issued by
+ host 'domain.com' in the browser compatibility mode. Even though the cookie violates
+ RFC 2109 it still gets accepted by mainstream browsers (tested with Mozilla Firebird and IE).
+
+ * 24869 - Changed DigestScheme to only accept a challenge if all fields required
+ by RFC 2617 are present.
+
+ * 24671 - Added ISO-8859-1 support for digest authentication passwords, and basic authentication
+ user names and passwords.
+
+ * Javadoc enhancements.
+
+Release 2.0 Release Candidate 2
+-------------------
+Changes since Release Candidate 1:
+
+ * Javadoc enhancements.
+
+ * 23284 - Fixed bug with URI.isIPv4address().
+
+ * 22969 - PostMethod#setParameter fixed to correctly overwrite existing parameters.
+
+ * 22970 - Fixed bug with PostMethod#removeParameter return value.
+
+ * Improved compliance to RFC 2617
+
+ * Added support for digest auth MD5-sess.
+
+ * 22655 - Added support for stale digest nonce values.
+
+ * 22968 - HttpConnection.isResponseAvailable() made a little more robust, particularly when
+ used by HeadMethod.
+
+ * 22941 - Switched the order in which socket streams are closed: output stream closed first,
+ followed by input stream.
+
+ * Added debugging for connection reclaiming.
+
+ * Removed JCE initialization code specific to the Sun's implementation.
+
+ * Fixed problem of Basic, Digest & NTLM authentication schemes under certain circumstances
+ leaking passwords in clear text to the DEBUG log.
+
+ * Fixed the problem with incorrect selection of the proxy authentication realm.
+
+ * Changed URI.normalize() to ignore relative path normalization.
+
+Release 2.0 Release Candidate 1
+-------------------
+Changes since Release 2.0 Beta 2:
+
+ * Option to disable 'stale' connection check that may lead to a slight
+ performance improvement at the cost of reduced reliability
+
+ * Improved debug logging in multi-threaded connection manager
+
+ * URI.normalize() no longer has an effect on relative URIs.
+
+ * 21532 - Removed use of sun.* class in URI.java
+
+ * 20481 - Changed query param encoding to UTF-8.
+
+ * 21378 - Multiple transfer encoding headers are now handled properly. Non chunked transfer
+ encodings are now handled correctly.
+
+Release 2.0 Beta 2
+-------------------
+Changes since Release 2.0 Beta 1:
+
+ * 20240 - Cookies with null path are no longer rejected in the
+ browser compatibility mode.
+
+ * 20481 - Query parameters set via HttpMethodBase.setQueryString(NameValuePair[])
+ now correctly use 'application/x-www-form-urlencoded' encoding.
+
+ * 20481 - POST method correctly applies 'application/x-www-form-urlencoded'
+ encoding.
+
+ * 20569 - Duplicate connection headers are now handled.
+
+ * 20646 - Fixed NTLM proxy authentication via SSL.
+
+ * 20665 - Changed URI to correctly handle path resolution according to
+ http://www.apache.org/~fielding/uri/rev-2002/issues.html. In
+ particular dot-segments are removed when not necessary.
+
+ * 20938 - Connections are now closed when the request is missing a content
+ length and is not chunked.
+
+ * 20942 - Requests with DIGEST authentication are now correctly handled
+ when redirected.
+
+ * 21130 - DEFAULT_MAX_HOST_CONNECTIONS and DEFAULT_MAX_TOTAL_CONNECTIONS are
+ now public in MultiThreadedHttpConnectionManager.
+
+ * 21201 - URIs are now correctly rebuilt following a call to URI.normalize().
+
+ * 21202 - WireLogInputStream.read(byte[]) now logs the correct number of bytes.
+
+ * Fixed path parsing in RFC2109 cookie spec.
+
+ * Fixed possible NPE when reading an empty response body.
+
+ * The various to*Charset() methods of URIUtil have been deprecated.
+
+Release 2.0 Beta 1
+-------------------
+Changes since Release 2.0 Alpha 3:
+
+ * Changed HttpConnection to use socket timeout instead of busy
+ waiting while expecting input.
+
+ * Added a getResponseContentLength() method to HttpMethod.
+
+ * Changed HttpClient to accept correctly encoded URLs instead of
+ attempting to encode them within HttpClient.
+
+ * 'Expect: 100-continue' logic factored out into an abstract
+ ExpectContinueMethod class
+
+ * 'Expect: 100-Continue' handshake disabled per default, as it may not work
+ properly with older HTTP/1.0 servers or proxies.
+
+ * Reengineered authentication code. This includes a fix for
+ HttpClient continually attempting to authenticate to digest realms and
+ provides for better future extensibility.
+
+ * Authenticator class deprecated
+
+ * Improved user documentation and example code.
+
+ * Added ability to differentiate between different hosts using the
+ same realm names.
+
+ * Added support for specifying a virtual host name to use.
+
+ * Fixed problem with half-closed connections causing a
+ HttpRecoverableException to be thrown when HttpClient attempts to read
+ from a socket.
+
+ * Improved reliability with the HEAD method and servers that
+ incorrectly include a response body.
+
+ * Improved support for connection keep-alive when communicating via a proxy
+
+ * Added an override of HttpClient.executeMethod that lets the
+ caller specify an HttpState object.
+
+ * HttpConnectionManager is now a property of the HttpClient class,
+ not of the HttpState class
+
+ * Added ability to specify the local address that HttpClient should
+ create connections from.
+
+
+Release 2.0 Alpha 3
+-------------------
+Changes since Release 2.0 Alpha 2:
+
+ * Abstract EntityEnclosingMethod class has been introduced to encapsulate
+ common behaviour of all entity enclosing methods
+
+ * "Expect: 100-continue" handshake support added for POST, PUT & multipart POST
+
+ * Added support for chunked requests for POST and PUT.
+
+ * Added support for 303 See Other redirections.
+
+ * Changed input and output streams to use buffering to improve performance.
+
+ * Improved handling of multivalue headers. Order is now preserved and
+ convenience methods have been added to access each value.
+
+ * In non-strict mode each cookie sent with the request is put on a separate
+ request header. In strict mode all cookies are crammed into one request header,
+ as before.
+
+ * ResponseInputStream class deprecated.
+
+ * RequestOutputStream class deprecated.
+
+ * Custom character set can be specified for all multipart classes.
+
+ * Custom content type can be specified for FilePart derived multipart classes.
+
+ * The useDisk methods in GetMethod class deprecated.
+
+
+Release 2.0 Alpha 2
+------------------
+Changes since Release 2.0 Alpha 1:
+
+ * Mavenized builds.
+
+ * Digest authentication. NTLM authentication.
+
+ * Multipart post.
+
+ * Added a StatusLine class to manage the status line of a
+ http response.
+
+ * Added ability to cusomize SocketFactory for http and https.
+ New Protocol class to allow for more protocols than just http/s.
+
+ * Removed the HttpMultiClient, added multi-thread support to
+ HttpClient.
+
+ * Revamp the streaming policy. Added AutoCloseInputStream,
+ ChunkedInputStream, ChunkedOutputStream, ContentLengthInputStream,
+ ResponseConsumedWatcher
+
+ * Commons Logging. Dependancy on the commons-logging.jar
+
+ * Added httpclient.util package. Move Base64 and URIUtil classs
+ into util.
+
+ * Added a HttpURLConnection wrapper. Allows for wrapping
+ HttpClient into the java standard library. Partial support only.
+
+ * Added httpclient.cookie package. Complete overhaul of cookie
+ handling. Allows for user specified CookiePolicy and
+ various cookie specification classes.
+
+ * Removed previously deprecated Cookie.createCookieHeader(String,
+ String,boolean,Cookie[]) method (port number is required for
+ future compatibility).
+
+ * Also removed Cookie.createCookieHeader(String,String,Cookie[])
+ method, which should have been deprecated (port number is
+ required for future compatibility)
+
+ * Renamed HttpMethod.followRedirects to getFollowRedirects,
+ for consistency (and made the corresponding change to
+ HttpMethodBase)
+
Propchange: ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/RELEASE_NOTES.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/RELEASE_NOTES.txt
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/RELEASE_NOTES.txt
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/build.properties.sample
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/build.properties.sample?rev=1238863&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/build.properties.sample (added)
+++ ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/build.properties.sample Tue Jan 31 23:41:22 2012
@@ -0,0 +1,42 @@
+# ===================================================================
+# Sample build.properties file
+#
+# Make a copy this file named "build.properties",
+# and customize it to your environment and preferences.
+#
+# $Id: build.properties.sample 190382 2005-06-13 10:58:56Z oglueck $
+# ===================================================================
+
+# ===================================================================
+# Classpath Settings
+# ===================================================================
+
+# The base directory for libraries used by HttpClient
+lib.dir=./lib
+
+# Required compile and runtime dependencies.
+commons-logging.jar=${lib.dir}/commons-logging.jar
+commons-codec.jar=${lib.dir}/commons-codec.jar
+
+# Required to compile and run the unit tests.
+junit.jar=${lib.dir}/junit.jar
+
+# A JSSE implementation (see http://java.sun.com/products/jsse):
+# Required to compile, only needed at runtime if you're using HTTPS.
+# A JCE implementation (see http://java.sun.com/products/jce):
+# Required to compile, only needed at runtime if you're using NTLM.
+
+# Both JSSE and JCE are expected to be present and configured in
+# the JDK/JRE
+
+# ===================================================================
+# Test Properties - used to configure the test cases
+# ===================================================================
+
+# - indicates which log writer to use (optional)
+
+httpclient.test.log=org.apache.commons.logging.impl.SimpleLog
+#httpclient.test.log=org.apache.commons.logging.impl.Log4JCategoryLog
+#httpclient.test.log=org.apache.commons.logging.impl.NoOpLog
+maven.username=yourASFid
+maven.repo.asf.privatekey=/home/myuser/.ssh/id_dsa
Added: ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/build.xml
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/build.xml?rev=1238863&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/build.xml (added)
+++ ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/build.xml Tue Jan 31 23:41:22 2012
@@ -0,0 +1,258 @@
+<project name="HttpClient" default="compile" basedir=".">
+<!--
+ "HttpClient" component of the Jakarta Commons Subproject
+ $Id$
+ author: Remy Maucherat ( mailto:remm@apache.org )
+ author: Rod Waldhoff ( mailto:rwaldhoff@apache.org )
+ author: Vincent Massol ( mailto:vmassol@apache.org )
+ author: dIon Gillard ( mailto:trongus@yahoo.com )
+ author: Mark Paquette ( mailto:mpaquett@covansys.com )
+ author: Jeff Dever ( mailto:jsdever@apache.org )
+ author: Oleg Kalnichevski ( mailto:oleg@ural.ru )
+-->
+
+<!-- ========== Properties: Property Files =============================== -->
+
+ <property file="${basedir}/build.properties"/> <!-- Component local -->
+ <property file="${basedir}/../build.properties"/> <!-- Commons local -->
+ <property file="${user.home}/build.properties"/> <!-- User local -->
+
+<!-- ========== Properties: External Dependencies ========================= -->
+
+ <property name="lib.dir" value="./lib"/>
+
+ <property name="commons-logging.jar" value="${lib.dir}/commons-logging.jar"/>
+ <property name="commons-codec.jar" value="${lib.dir}/commons-codec.jar"/>
+
+<!-- ========== Properties: Javadoc Properties ========================= -->
+
+ <property name="javadoc.j2sdk.link" value="http://java.sun.com/products/jdk/1.2/docs/api/"/>
+ <property name="javadoc.logging.link" value="http://jakarta.apache.org/commons/logging/apidocs/"/>
+
+<!-- ========== Properties: Component Declarations ======================== -->
+
+ <!-- The name of this component -->
+ <property name="component.name" value="httpclient"/>
+
+ <!-- The title of this component -->
+ <property name="component.title" value="HttpClient Library"/>
+
+ <!-- The current version number of this component -->
+ <property name="component.version" value="3.0"/>
+
+<!-- ========== Properties: Source Directories ============================ -->
+
+ <!-- The base directory for component configuration files -->
+ <property name="conf.home" value="src/conf"/>
+
+ <!-- The base directory for component sources -->
+ <property name="source.home" value="src"/>
+
+ <!-- The base directory for documenation -->
+ <property name="docs.home" value="docs"/>
+
+<!-- ========== Properties: Test Configuration ============================ -->
+
+ <!-- The base directory for unit test sources -->
+ <property name="test.home" value="src/test"/>
+
+ <!-- The Junit test jarfile -->
+ <property name="junit.jar" value="${lib.dir}/junit.jar"/>
+
+ <!-- The commons-logging friendly logger class to use for tests -->
+ <property name="httpclient.test.log" value="org.apache.commons.logging.impl.SimpleLog"/>
+
+<!-- ========== Properties: Destination Directories ======================= -->
+
+ <!-- The base directory for compilation targets -->
+ <property name="build.home" value="target"/>
+
+ <!-- The base directory for distribution targets -->
+ <property name="dist.home" value="dist"/>
+
+<!-- ========== Compiler Defaults ========================================= -->
+
+ <!-- Should Java compilations set the 'debug' compiler option? -->
+ <property name="compile.debug" value="false"/>
+
+ <!-- Should Java compilations set the 'deprecation' compiler option? -->
+ <property name="compile.deprecation" value="true"/>
+
+ <!-- Should Java compilations set the 'optimize' compiler option? -->
+ <property name="compile.optimize" value="true"/>
+
+ <!-- Construct compile classpath -->
+ <path id="compile.classpath">
+ <pathelement location="${build.home}/classes"/>
+ <pathelement location="${commons-logging.jar}"/>
+ <pathelement location="${commons-codec.jar}"/>
+ </path>
+
+<!-- ========== Test Execution Defaults =================================== -->
+
+ <!-- Construct unit test classpath -->
+ <path id="test.classpath">
+ <pathelement location="${build.home}/classes"/>
+ <pathelement location="${build.home}/tests"/>
+ <pathelement location="${junit.jar}"/>
+ <pathelement location="${commons-logging.jar}"/>
+ <pathelement location="${commons-codec.jar}"/>
+ <pathelement location="${conf.home}"/>
+ </path>
+
+ <!-- Should all tests fail if one does? -->
+ <property name="test.failonerror" value="true"/>
+
+ <!-- The root test to execute -->
+ <property name="test.runner" value="junit.textui.TestRunner"/>
+ <property name="test.entry" value="org.apache.commons.httpclient.TestAll"/>
+
+<!-- ========== Targets =================================================== -->
+
+<!-- ========== Targets: "Internal" Targets =============================== -->
+
+ <target name="init"
+ description="Initialize and evaluate conditionals">
+ <echo message="-------- ${component.title} ${component.version} --------"/>
+ <filter token="name" value="${component.name}"/>
+ <filter token="version" value="${component.version}"/>
+ </target>
+
+ <target name="prepare" depends="init"
+ description="Prepare build directory">
+ <mkdir dir="${build.home}"/>
+ <mkdir dir="${build.home}/classes"/>
+ <mkdir dir="${build.home}/conf"/>
+ <mkdir dir="${build.home}/docs"/>
+ <mkdir dir="${build.home}/docs/api"/>
+ <mkdir dir="${build.home}/tests"/>
+ <mkdir dir="${build.home}/examples"/>
+ </target>
+
+ <target name="static" depends="prepare"
+ description="Copy static files to build directory">
+ <tstamp/>
+ <copy todir="${build.home}/conf" filtering="on">
+ <fileset dir="${conf.home}" includes="*.MF"/>
+ <fileset dir="${conf.home}" includes="*.properties"/>
+ </copy>
+ </target>
+
+<!-- ========== Targets: "External" Targets =============================== -->
+
+ <target name="dist" depends="compile,doc"
+ description="Create binary distribution">
+ <mkdir dir="${dist.home}"/>
+ <copy file="LICENSE.txt" todir="${dist.home}"/>
+ <copy file="build.xml" todir="${dist.home}"/>
+ <copy file="build.properties.sample" todir="${dist.home}"/>
+ <copy file="README.txt" todir="${dist.home}"/>
+ <jar jarfile ="${dist.home}/commons-${component.name}.jar"
+ basedir ="${build.home}/classes"
+ manifest ="${build.home}/conf/MANIFEST.MF">
+ <metainf dir="${dist.home}">
+ <include name="LICENSE.txt"/>
+ </metainf>
+ </jar>
+ <mkdir dir="${dist.home}/src"/>
+ <copy todir="${dist.home}/src" filtering="on">
+ <fileset dir="${source.home}"/>
+ </copy>
+ <mkdir dir="${dist.home}/lib"/>
+ <copy todir="${dist.home}/lib">
+ <fileset dir="lib"/>
+ </copy>
+ </target>
+
+<!-- ========== Targets: "External" Targets: Clean-up ===================== -->
+
+ <target name="clean"
+ description="Clean build and distribution directories">
+ <delete dir="${build.home}"/>
+ <delete dir="${dist.home}"/>
+ </target>
+
+ <target name="all" depends="clean,compile"
+ description="Clean and compile all components"/>
+
+<!-- ========== Targets: "External" Targets: Compilation ================== -->
+
+ <target name="compile" depends="static"
+ description="Compile shareable components">
+ <javac srcdir ="${source.home}/java"
+ destdir ="${build.home}/classes"
+ debug ="${compile.debug}"
+ deprecation ="${compile.deprecation}"
+ optimize ="${compile.optimize}">
+ <classpath refid="compile.classpath"/>
+ </javac>
+ <javac srcdir ="${source.home}/examples"
+ destdir ="${build.home}/examples"
+ debug ="${compile.debug}"
+ deprecation ="${compile.deprecation}"
+ optimize ="${compile.optimize}">
+ <classpath refid="compile.classpath"/>
+ </javac>
+ </target>
+
+ <target name="compile.tests" depends="compile"
+ description="Compile unit test cases">
+ <javac srcdir ="${test.home}"
+ destdir ="${build.home}/tests"
+ debug ="${compile.debug}"
+ deprecation ="${compile.deprecation}"
+ optimize ="${compile.optimize}">
+ <classpath refid="test.classpath"/>
+ </javac>
+ <copy todir="${build.home}/tests" filtering="on">
+ <fileset dir="${test.home}" includes="**/*.properties" />
+ </copy>
+ <copy todir="${build.home}/tests" filtering="off">
+ <fileset dir="${test.home}" includes="**/*.keystore" />
+ </copy>
+ </target>
+
+<!-- ========== Targets: "External" Targets: Testing ====================== -->
+
+ <target name="test" depends="compile.tests" if="test.entry"
+ description="Run all unit test cases">
+ <java classname="${test.runner}" fork="yes" failonerror="${test.failonerror}">
+ <jvmarg value="-Dorg.apache.commons.logging.Log=${httpclient.test.log}"/>
+ <arg value="${test.entry}"/>
+ <classpath refid="test.classpath"/>
+ </java>
+ </target>
+
+<!-- ========== Targets: "External" Targets: Documenation ================= -->
+
+ <target name="doc" depends="javadoc"
+ description="Create component documentation.">
+ <mkdir dir="${dist.home}"/>
+ <mkdir dir="${dist.home}/docs"/>
+ <copy todir="${dist.home}/docs" filtering="off">
+ <fileset dir="docs"/>
+ </copy>
+ </target>
+
+ <target name="javadoc" depends="compile"
+ description="Create component Javadoc documentation">
+ <mkdir dir="${dist.home}"/>
+ <mkdir dir="${dist.home}/docs"/>
+ <mkdir dir="${dist.home}/docs/api"/>
+ <javadoc sourcepath ="${source.home}/java"
+ destdir ="${dist.home}/docs/api"
+ packagenames ="org.apache.commons.*"
+ author ="true"
+ protected ="true"
+ version ="true"
+ doctitle ="<h1>${component.title}</h1>"
+ windowtitle ="${component.title} (Version ${component.version})"
+ bottom ="Copyright (c) 1999-2005 - Apache Software Foundation"
+ >
+ <classpath refid="test.classpath"/>
+ <link href="${javadoc.j2sdk.link}"/>
+ <link href="${javadoc.logging.link}"/>
+ </javadoc>
+ </target>
+
+</project>
Propchange: ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/build.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/build.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/maven.xml
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/maven.xml?rev=1238863&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/maven.xml (added)
+++ ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/maven.xml Tue Jan 31 23:41:22 2012
@@ -0,0 +1,101 @@
+<?xml version="1.0"?>
+<!-- Author: Jeff Dever -->
+
+<project xmlns:ant="jelly:ant">
+
+ <!-- ================================================================== -->
+ <!-- START : C O M M O N S - B U I L D -->
+ <!-- ================================================================== -->
+ <!-- Required: Look and Feel for documentation within distributions -->
+ <!-- ================================================================== -->
+ <postGoal name="xdoc:copy-resources">
+ <ant:copy todir="${basedir}/target/docs/style/" failonerror="false">
+ <fileset dir="${basedir}/../commons-build/xdocs/style">
+ <include name='**/*'/>
+ <exclude name='**/CVS/**'/>
+ </fileset>
+ </ant:copy>
+ </postGoal>
+ <!-- ================================================================== -->
+ <!-- END: C O M M O N S - B U I L D -->
+ <!-- ================================================================== -->
+
+ <!--
+ Builds the HttpClient distribution. Ensures that the site docs are included
+ in the dist.
+ -->
+ <goal name="httpclient:dist" prereqs="site:generate, dist"/>
+
+ <postGoal name="dist:prepare-bin-filesystem">
+
+ <echo>[HttpClient] dist:prepare-bin-filesystem postGoal</echo>
+
+ <ant:copy todir="${maven.dist.bin.assembly.dir}/docs">
+ <fileset dir="./docs">
+ <include name="*.txt"/>
+ <include name="*.html"/>
+ </fileset>
+ <fileset dir="target/docs">
+ <include name="**/*"/>
+ </fileset>
+ </ant:copy>
+
+ <ant:copy file="release_notes.txt" tofile="${maven.dist.bin.assembly.dir}/RELEASE_NOTES.txt" />
+
+ <ant:fixcrlf srcdir="${maven.dist.bin.assembly.dir}" eol="lf" encoding="ISO-8859-1"
+ includes="**/*.xml **/*.properties **/*.html **/*.css" />
+
+ <ant:fixcrlf srcdir="${maven.dist.bin.assembly.dir}" eol="crlf" encoding="ISO-8859-1"
+ includes="**/*.txt" />
+
+ <ant:copy file="LICENSE.txt" tofile="${maven.dist.bin.assembly.dir}/LICENSE" />
+ <ant:copy file="README.txt" tofile="${maven.dist.bin.assembly.dir}/README" />
+ <ant:copy file="release_notes.txt" tofile="${maven.dist.bin.assembly.dir}/RELEASE_NOTES" />
+
+ <ant:fixcrlf srcdir="${maven.dist.bin.assembly.dir}" eol="lf" encoding="ISO-8859-1"
+ includes="LICENSE README RELEASE_NOTES" />
+
+ </postGoal>
+
+ <postGoal name="dist:prepare-src-filesystem">
+
+ <echo>[HttpClient] dist:prepare-src-filesystem postGoal</echo>
+
+ <ant:copy todir="${maven.dist.src.assembly.dir}">
+ <fileset dir=".">
+ <include name="build.properties.sample"/>
+ </fileset>
+ </ant:copy>
+
+ <ant:copy todir="${maven.dist.src.assembly.dir}/docs">
+ <fileset dir="./docs">
+ <include name="*.txt"/>
+ <include name="*.html"/>
+ </fileset>
+ <fileset dir="target/docs">
+ <include name="**/*"/>
+ </fileset>
+ </ant:copy>
+
+ <ant:copy file="release_notes.txt" tofile="${maven.dist.src.assembly.dir}/RELEASE_NOTES.txt" />
+
+ <ant:fixcrlf srcdir="${maven.dist.src.assembly.dir}" javafiles="true"
+ eol="lf" tab="remove" tablength="4" encoding="ISO-8859-1"
+ includes="**/*.java" />
+
+ <ant:fixcrlf srcdir="${maven.dist.src.assembly.dir}" eol="lf" encoding="ISO-8859-1"
+ includes="**/*.xml **/*.properties **/*.html **/*.css" />
+
+ <ant:fixcrlf srcdir="${maven.dist.src.assembly.dir}" eol="crlf" encoding="ISO-8859-1"
+ includes="**/*.txt" />
+
+ <ant:copy file="LICENSE.txt" tofile="${maven.dist.src.assembly.dir}/LICENSE" />
+ <ant:copy file="README.txt" tofile="${maven.dist.src.assembly.dir}/README" />
+ <ant:copy file="release_notes.txt" tofile="${maven.dist.src.assembly.dir}/RELEASE_NOTES" />
+
+ <ant:fixcrlf srcdir="${maven.dist.src.assembly.dir}" eol="lf" encoding="ISO-8859-1"
+ includes="LICENSE README RELEASE_NOTES" />
+
+ </postGoal>
+
+</project>
Propchange: ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/maven.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/maven.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/maven.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/project.properties
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/project.properties?rev=1238863&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/project.properties (added)
+++ ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/project.properties Tue Jan 31 23:41:22 2012
@@ -0,0 +1,16 @@
+# Maven specific project properties
+
+maven.xdoc.jsl=../commons-build/commons-site.jsl
+maven.xdoc.date=left
+maven.xdoc.version=${pom.currentVersion}
+maven.checkstyle.properties=checkstyle.xml.properties
+maven.checkstyle.includes=**/*.java
+maven.checkstyle.excludes=**/*.html
+maven.javadoc.links=http://java.sun.com/j2se/1.4.1/docs/api/, http://jakarta.apache.org/commons/logging/apidocs/
+maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory
+maven.repo.list=asf
+maven.repo.asf=scp://people.apache.org
+maven.repo.asf.directory=/www/www.apache.org/dist/java-repository
+maven.repo.asf.username=${maven.username}
+maven.repo.asf.compress=true
+maven.repo.asf.group=jakarta
Propchange: ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/project.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/project.properties
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Added: ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/project.xml
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/project.xml?rev=1238863&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/project.xml (added)
+++ ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/project.xml Tue Jan 31 23:41:22 2012
@@ -0,0 +1,351 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<project>
+ <pomVersion>3</pomVersion>
+ <name>HttpClient</name>
+ <groupId>commons-httpclient</groupId>
+ <artifactId>commons-httpclient</artifactId>
+ <gumpRepositoryId>jakarta-commons-httpclient</gumpRepositoryId>
+ <inceptionYear>2001</inceptionYear>
+ <currentVersion>3.0</currentVersion>
+ <package>org.apache.commons.httpclient</package>
+
+ <organization>
+ <name>Apache Software Foundation</name>
+ <url>http://jakarta.apache.org/</url>
+ <logo>http://jakarta.apache.org/images/jakarta-logo.gif</logo>
+ </organization>
+
+
+ <shortDescription>Jakarta Commons HttpClient</shortDescription>
+ <description>
+ The HttpClient component supports the client-side of RFC 1945 (HTTP/1.0) and RFC 2616 (HTTP/1.1) , several related specifications (RFC 2109 (Cookies) , RFC 2617 (HTTP Authentication) , etc.), and provides a framework by which new request types (methods) or HTTP extensions can be created easily.
+ </description>
+
+ <logo>/images/httpclient_logo.png</logo>
+ <url>http://jakarta.apache.org/commons/httpclient/</url>
+ <issueTrackingUrl><![CDATA[http://issues.apache.org/bugzilla/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&product=HttpClient&component=Commons+HttpClient&long_desc_type=allwordssubstr&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&keywords_type=anywords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=NEEDINFO&emailassigned_to1=1&emailtype1=substring&email1=&emailreporter2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=]]></issueTrackingUrl>
+
+ <siteAddress>people.apache.org</siteAddress>
+ <siteDirectory>/www/jakarta.apache.org/commons/httpclient/</siteDirectory>
+ <repository>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/jakarta/commons/proper/${pom.artifactId.substring(8)}/trunk</connection>
+ <url>http://svn.apache.org/repos/asf/jakarta/commons/proper/${pom.artifactId.substring(8)}/trunk</url>
+ </repository>
+ <versions>
+ <version>
+ <id>3.0</id>
+ <name>3.0</name>
+ <tag>HTTPCLIENT_3_0</tag>
+ </version>
+ <version>
+ <id>3.0-rc4</id>
+ <name>3.0-rc4</name>
+ <tag>HTTPCLIENT_3_0_RC4</tag>
+ </version>
+ <version>
+ <id>3.0-rc3</id>
+ <name>3.0-rc3</name>
+ <tag>HTTPCLIENT_3_0_RC3</tag>
+ </version>
+ <version>
+ <id>3.0-rc2</id>
+ <name>3.0-rc2</name>
+ <tag>HTTPCLIENT_3_0_RC2</tag>
+ </version>
+ <version>
+ <id>3.0-rc1</id>
+ <name>3.0-rc1</name>
+ <tag>HTTPCLIENT_3_0_RC1</tag>
+ </version>
+ <version>
+ <id>3.0-beta1</id>
+ <name>3.0-beta1</name>
+ <tag>HTTPCLIENT_3_0_BETA1</tag>
+ </version>
+ <version>
+ <id>3.0-alpha2</id>
+ <name>3.0-alpha2</name>
+ <tag>HTTPCLIENT_3_0_ALPHA2</tag>
+ </version>
+ <version>
+ <id>3.0-alpha1</id>
+ <name>3.0-alpha1</name>
+ <tag>HTTPCLIENT_3_0_ALPHA1</tag>
+ </version>
+ <version>
+ <id>2.0</id>
+ <name>2.0</name>
+ <tag>HTTPCLIENT_2_0_FINAL</tag>
+ </version>
+ <version>
+ <id>rc3</id>
+ <name>2.0-rc3</name>
+ <tag>HTTPCLIENT_2_0_RC3</tag>
+ </version>
+ <version>
+ <id>rc2</id>
+ <name>2.0-rc2</name>
+ <tag>HTTPCLIENT_2_0_RC2</tag>
+ </version>
+ <version>
+ <id>rc1</id>
+ <name>2.0-rc1</name>
+ <tag>HTTPCLIENT_2_0_RC1</tag>
+ </version>
+ <version>
+ <id>b2</id>
+ <name>2.0-beta2</name>
+ <tag>HTTPCLIENT_2_0_BETA2</tag>
+ </version>
+ <version>
+ <id>b1</id>
+ <name>2.0-beta1</name>
+ <tag>HTTPCLIENT_2_0_BETA1</tag>
+ </version>
+ <version>
+ <id>a3</id>
+ <name>2.0-alpha3</name>
+ <tag>HTTPCLIENT_2_0_ALPHA3</tag>
+ </version>
+ <version>
+ <id>a2</id>
+ <name>2.0-alpha2</name>
+ <tag>HTTPCLIENT_2_0_ALPHA2</tag>
+ </version>
+ <version>
+ <id>a1</id>
+ <name>2.0-alpha1</name>
+ <tag>HTTPCLIENT_2_0_ALPHA1</tag>
+ </version>
+ </versions>
+
+ <branches>
+ <branch>
+ <tag>HTTPCLIENT_2_0_BRANCH</tag>
+ </branch>
+ </branches>
+
+ <mailingLists>
+ <mailingList>
+ <name>HttpClient Developer List</name>
+ <subscribe>httpclient-dev-subscribe@jakarta.apache.org</subscribe>
+ <unsubscribe>httpclient-dev-unsubscribe@jakarta.apache.org</unsubscribe>
+ <archive>http://mail-archives.apache.org/eyebrowse/SummarizeList?listId=281</archive>
+ </mailingList>
+ <mailingList>
+ <name>HttpClient User List</name>
+ <subscribe>httpclient-user-subscribe@jakarta.apache.org</subscribe>
+ <unsubscribe>httpclient-user-unsubscribe@jakarta.apache.org</unsubscribe>
+ <archive>http://mail-archives.apache.org/eyebrowse/SummarizeList?listId=280</archive>
+ </mailingList>
+ </mailingLists>
+
+ <developers>
+ <developer>
+ <name>Michael Becke</name>
+ <id>mbecke</id>
+ <email>mbecke -at- apache.org</email>
+ <organization></organization>
+ <roles>
+ <role>Release Prime</role>
+ <role>Java Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <name>Jeff Dever</name>
+ <id>jsdever</id>
+ <email>jsdever -at- apache.org</email>
+ <organization>Independent consultant</organization>
+ <roles>
+ <role>2.0 Release Prime</role>
+ <role>Java Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <name>dIon Gillard</name>
+ <id>dion</id>
+ <email>dion -at- apache.org</email>
+ <organization>Multitask Consulting</organization>
+ <roles>
+ <role>Java Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <name>Ortwin Glueck</name>
+ <id>oglueck</id>
+ <email>oglueck -at- apache.org</email>
+ <organization></organization>
+ <roles>
+ <role>Java Developer</role>
+ </roles>
+ <url>http://www.odi.ch/</url>
+ </developer>
+ <developer>
+ <name>Sung-Gu</name>
+ <id>jericho</id>
+ <email>jericho -at- apache.org</email>
+ <organization/>
+ <roles>
+ <role>Java Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <name>Oleg Kalnichevski</name>
+ <id>olegk</id>
+ <email>olegk -at- apache.org</email>
+ <roles>
+ <role>Java Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <name>Sean C. Sullivan</name>
+ <id>sullis</id>
+ <email>sullis -at- apache.org</email>
+ <organization>Independent consultant</organization>
+ <roles>
+ <role>Java Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <name>Adrian Sutton</name>
+ <id>adrian</id>
+ <email>adrian.sutton -at- ephox.com</email>
+ <organization>Intencha</organization>
+ <roles>
+ <role>Java Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <name>Rodney Waldhoff</name>
+ <id>rwaldhoff</id>
+ <email>rwaldhoff -at- apache</email>
+ <organization>Britannica</organization>
+ <roles>
+ <role>Java Developer</role>
+ </roles>
+ </developer>
+ </developers>
+
+ <contributors>
+ <contributor>
+ <name>Armando Anton</name>
+ <email>armando.anton -at- newknow.com</email>
+ </contributor>
+ <contributor>
+ <name>Ola Berg</name>
+ <email></email>
+ </contributor>
+ <contributor>
+ <name>Sam Berlin</name>
+ <email>sberlin -at- limepeer.com</email>
+ </contributor>
+ <contributor>
+ <name>Mike Bowler</name>
+ <email></email>
+ </contributor>
+ <contributor>
+ <name>Samit Jain</name>
+ <email>jain.samit -at- gmail.com</email>
+ </contributor>
+ <contributor>
+ <name>Eric Johnson</name>
+ <email>eric -at- tibco.com</email>
+ </contributor>
+ <contributor>
+ <name>Christian Kohlschuetter</name>
+ <email>ck -at- newsclub.de</email>
+ </contributor>
+ <contributor>
+ <name>Ryan Lubke</name>
+ <email>Ryan.Lubke -at- Sun.COM</email>
+ </contributor>
+ <contributor>
+ <name>Sam Maloney</name>
+ <email>sam.maloney -at- filogix.com</email>
+ </contributor>
+ <contributor>
+ <name>Rob Di Marco</name>
+ <email>rdimarco -at- hmsonline.com</email>
+ </contributor>
+ <contributor>
+ <name>Juergen Pill</name>
+ <email>Juergen.Pill -at- softwareag.com</email>
+ </contributor>
+ <contributor>
+ <name>Mohammad Rezaei</name>
+ <email>mohammad.rezaei -at- gs.com</email>
+ </contributor>
+ <contributor>
+ <name>Roland Weber</name>
+ <email>ROLWEBER -at- de.ibm.com</email>
+ </contributor>
+ <contributor>
+ <name>Laura Werner</name>
+ <email>laura -at- lwerner.org</email>
+ </contributor>
+ </contributors>
+
+ <licenses>
+ <license>
+ <name>Apache License</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <url>http://www.junit.org/</url>
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.0.3</version>
+ <url>http://jakarta.apache.org/commons/logging/</url>
+ </dependency>
+ <dependency>
+ <groupId>commons-codec</groupId>
+ <artifactId>commons-codec</artifactId>
+ <version>1.2</version>
+ <url>http://jakarta.apache.org/commons/codec/</url>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <nagEmailAddress>httpclient-dev@jakarta.apache.org</nagEmailAddress>
+ <sourceDirectory>src/java</sourceDirectory>
+ <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
+ <aspectSourceDirectory/>
+ <unitTest>
+ <includes>
+ <include>**/TestAll.java</include>
+ </includes>
+ <resources>
+ <resource>
+ <directory>src/test</directory>
+ <includes>
+ <include>**/*.keystore</include>
+ </includes>
+ </resource>
+ </resources>
+ </unitTest>
+ </build>
+
+ <reports>
+ <report>maven-changelog-plugin</report>
+ <report>maven-changes-plugin</report>
+ <report>maven-developer-activity-plugin</report>
+ <report>maven-file-activity-plugin</report>
+ <report>maven-javadoc-plugin</report>
+ <report>maven-jdepend-plugin</report>
+ <report>maven-junit-report-plugin</report>
+ <report>maven-jxr-plugin</report>
+ <report>maven-license-plugin</report>
+ <report>maven-tasklist-plugin</report>
+ </reports>
+
+</project>
Propchange: ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/project.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/project.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/project.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/src/contrib/org/apache/commons/httpclient/contrib/methods/multipart/ContentType.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/src/contrib/org/apache/commons/httpclient/contrib/methods/multipart/ContentType.java?rev=1238863&view=auto
==============================================================================
--- ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/src/contrib/org/apache/commons/httpclient/contrib/methods/multipart/ContentType.java (added)
+++ ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/src/contrib/org/apache/commons/httpclient/contrib/methods/multipart/ContentType.java Tue Jan 31 23:41:22 2012
@@ -0,0 +1,237 @@
+/*
+ * ====================================================================
+ *
+ * Copyright 2002-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ *
+ * [Additional notices, if required by prior licensing conditions]
+ *
+ */
+
+package org.apache.commons.httpclient.contrib.methods.multipart;
+
+import java.io.File;
+
+/**
+ * This class provides mappings from file name extensions to content types.
+ *
+ * @author <a href="mailto:emdevlin@charter.net">Eric Devlin</a>
+ * @author <a href="mailto:adrian@intencha.com">Adrian Sutton</a>
+ *
+ * @version $Revision$
+ *
+ * DISCLAIMER: HttpClient developers DO NOT actively support this component.
+ * The component is provided as a reference material, which may be inappropriate
+ * to be used without additional customization.
+ */
+
+public final class ContentType {
+
+ /** Mime Type mappings 'liberated' from Tomcat4.1.18/conf/web.xml*/
+ public static final String[][] MIME_TYPE_MAPPINGS = { { "abs", "audio/x-mpeg" }, {
+ "ai", "application/postscript" }, {
+ "aif", "audio/x-aiff" }, {
+ "aifc", "audio/x-aiff" }, {
+ "aiff", "audio/x-aiff" }, {
+ "aim", "application/x-aim" }, {
+ "art", "image/x-jg" }, {
+ "asf", "video/x-ms-asf" }, {
+ "asx", "video/x-ms-asf" }, {
+ "au", "audio/basic" }, {
+ "avi", "video/x-msvideo" }, {
+ "avx", "video/x-rad-screenplay" }, {
+ "bcpio", "application/x-bcpio" }, {
+ "bin", "application/octet-stream" }, {
+ "bmp", "image/bmp" }, {
+ "body", "text/html" }, {
+ "cdf", "application/x-cdf" }, {
+ "cer", "application/x-x509-ca-cert" }, {
+ "class", "application/java" }, {
+ "cpio", "application/x-cpio" }, {
+ "csh", "application/x-csh" }, {
+ "css", "text/css" }, {
+ "dib", "image/bmp" }, {
+ "doc", "application/msword" }, {
+ "dtd", "text/plain" }, {
+ "dv", "video/x-dv" }, {
+ "dvi", "application/x-dvi" }, {
+ "eps", "application/postscript" }, {
+ "etx", "text/x-setext" }, {
+ "exe", "application/octet-stream" }, {
+ "gif", "image/gif" }, {
+ "gtar", "application/x-gtar" }, {
+ "gz", "application/x-gzip" }, {
+ "hdf", "application/x-hdf" }, {
+ "hqx", "application/mac-binhex40" }, {
+ "htc", "text/x-component" }, {
+ "htm", "text/html" }, {
+ "html", "text/html" }, {
+ "hqx", "application/mac-binhex40" }, {
+ "ief", "image/ief" }, {
+ "jad", "text/vnd.sun.j2me.app-descriptor" }, {
+ "jar", "application/java-archive" }, {
+ "java", "text/plain" }, {
+ "jnlp", "application/x-java-jnlp-file" }, {
+ "jpe", "image/jpeg" }, {
+ "jpeg", "image/jpeg" }, {
+ "jpg", "image/jpeg" }, {
+ "js", "text/javascript" }, {
+ "jsf", "text/plain" }, {
+ "jspf", "text/plain" }, {
+ "kar", "audio/x-midi" }, {
+ "latex", "application/x-latex" }, {
+ "m3u", "audio/x-mpegurl" }, {
+ "mac", "image/x-macpaint" }, {
+ "man", "application/x-troff-man" }, {
+ "me", "application/x-troff-me" }, {
+ "mid", "audio/x-midi" }, {
+ "midi", "audio/x-midi" }, {
+ "mif", "application/x-mif" }, {
+ "mov", "video/quicktime" }, {
+ "movie", "video/x-sgi-movie" }, {
+ "mp1", "audio/x-mpeg" }, {
+ "mp2", "audio/x-mpeg" }, {
+ "mp3", "audio/x-mpeg" }, {
+ "mpa", "audio/x-mpeg" }, {
+ "mpe", "video/mpeg" }, {
+ "mpeg", "video/mpeg" }, {
+ "mpega", "audio/x-mpeg" }, {
+ "mpg", "video/mpeg" }, {
+ "mpv2", "video/mpeg2" }, {
+ "ms", "application/x-wais-source" }, {
+ "nc", "application/x-netcdf" }, {
+ "oda", "application/oda" }, {
+ "pbm", "image/x-portable-bitmap" }, {
+ "pct", "image/pict" }, {
+ "pdf", "application/pdf" }, {
+ "pgm", "image/x-portable-graymap" }, {
+ "pic", "image/pict" }, {
+ "pict", "image/pict" }, {
+ "pls", "audio/x-scpls" }, {
+ "png", "image/png" }, {
+ "pnm", "image/x-portable-anymap" }, {
+ "pnt", "image/x-macpaint" }, {
+ "ppm", "image/x-portable-pixmap" }, {
+ "ps", "application/postscript" }, {
+ "psd", "image/x-photoshop" }, {
+ "qt", "video/quicktime" }, {
+ "qti", "image/x-quicktime" }, {
+ "qtif", "image/x-quicktime" }, {
+ "ras", "image/x-cmu-raster" }, {
+ "rgb", "image/x-rgb" }, {
+ "rm", "application/vnd.rn-realmedia" }, {
+ "roff", "application/x-troff" }, {
+ "rtf", "application/rtf" }, {
+ "rtx", "text/richtext" }, {
+ "sh", "application/x-sh" }, {
+ "shar", "application/x-shar" }, {
+ "smf", "audio/x-midi" }, {
+ "snd", "audio/basic" }, {
+ "src", "application/x-wais-source" }, {
+ "sv4cpio", "application/x-sv4cpio" }, {
+ "sv4crc", "application/x-sv4crc" }, {
+ "swf", "application/x-shockwave-flash" }, {
+ "t", "application/x-troff" }, {
+ "tar", "application/x-tar" }, {
+ "tcl", "application/x-tcl" }, {
+ "tex", "application/x-tex" }, {
+ "texi", "application/x-texinfo" }, {
+ "texinfo", "application/x-texinfo" }, {
+ "tif", "image/tiff" }, {
+ "tiff", "image/tiff" }, {
+ "tr", "application/x-troff" }, {
+ "tsv", "text/tab-separated-values" }, {
+ "txt", "text/plain" }, {
+ "ulw", "audio/basic" }, {
+ "ustar", "application/x-ustar" }, {
+ "xbm", "image/x-xbitmap" }, {
+ "xml", "text/xml" }, {
+ "xpm", "image/x-xpixmap" }, {
+ "xsl", "text/xml" }, {
+ "xwd", "image/x-xwindowdump" }, {
+ "wav", "audio/x-wav" }, {
+ "svg", "image/svg+xml" }, {
+ "svgz", "image/svg+xml" }, {
+ "wbmp", "image/vnd.wap.wbmp" }, {
+ "wml", "text/vnd.wap.wml" }, {
+ "wmlc", "application/vnd.wap.wmlc" }, {
+ "wmls", "text/vnd.wap.wmlscript" }, {
+ "wmlscriptc", "application/vnd.wap.wmlscriptc" }, {
+ "wrl", "x-world/x-vrml" }, {
+ "Z", "application/x-compress" }, {
+ "z", "application/x-compress" }, {
+ "zip", "application/zip" }
+ };
+
+ /** The constructor is intentionally private as the class only provides static methods.
+ */
+ private ContentType() {
+ }
+
+ /**
+ * Get the content type based on the extension of the file name<br>
+ *
+ * @param fileName for which the content type is to be determined.
+ *
+ * @return the content type for the file or null if no mapping was
+ * possible.
+ */
+ public static String get(String fileName) {
+ String contentType = null;
+
+ if (fileName != null) {
+ int extensionIndex = fileName.lastIndexOf('.');
+ if (extensionIndex != -1) {
+ if (extensionIndex + 1 < fileName.length()) {
+ String extension = fileName.substring(extensionIndex + 1);
+ for (int i = 0; i < MIME_TYPE_MAPPINGS.length; i++) {
+ if (extension.equals(MIME_TYPE_MAPPINGS[i][0])) {
+ contentType = MIME_TYPE_MAPPINGS[i][1];
+ break;
+ }
+ }
+ }
+ }
+ }
+
+ return contentType;
+ }
+
+ /**
+ * Get the content type based on the extension of the file name<br>
+ *
+ * @param file for which the content type is to be determined.
+ *
+ * @return the content type for the file or null if no mapping was
+ * possible.
+ *
+ * @throws IOException if the construction of the canonical path for
+ * the file fails.
+ */
+ public static String get(File file) {
+ String contentType = null;
+
+ if (file != null) {
+ contentType = get(file.getName());
+ }
+
+ return contentType;
+ }
+}
Propchange: ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/src/contrib/org/apache/commons/httpclient/contrib/methods/multipart/ContentType.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/src/contrib/org/apache/commons/httpclient/contrib/methods/multipart/ContentType.java
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: ant/ivy/ivyde/trunk/doc/screenshot-projects/commons-httpclient-3.0/src/contrib/org/apache/commons/httpclient/contrib/methods/multipart/ContentType.java
------------------------------------------------------------------------------
svn:mime-type = text/plain