mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 15:03:18 +00:00
Merge pull request #596 from robintaylor/DS-2091
DS-2091 Upgrade HttpComponents to 4.3.5
This commit is contained in:
@@ -446,7 +446,6 @@
|
||||
<dependency>
|
||||
<groupId>org.apache.httpcomponents</groupId>
|
||||
<artifactId>httpclient</artifactId>
|
||||
<version>4.2.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.solr</groupId>
|
||||
|
@@ -175,9 +175,7 @@ public class EZIDRequest
|
||||
request = new HttpPut(uri);
|
||||
if (null != metadata)
|
||||
{
|
||||
try {
|
||||
request.setEntity(new StringEntity(formatMetadata(metadata), UTF_8));
|
||||
} catch (UnsupportedEncodingException ex) { /* SNH */ }
|
||||
request.setEntity(new StringEntity(formatMetadata(metadata), UTF_8));
|
||||
}
|
||||
HttpResponse response = client.execute(request);
|
||||
return new EZIDResponse(response);
|
||||
|
5
pom.xml
5
pom.xml
@@ -1000,6 +1000,11 @@
|
||||
<artifactId>commons-httpclient</artifactId>
|
||||
<version>3.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.httpcomponents</groupId>
|
||||
<artifactId>httpclient</artifactId>
|
||||
<version>4.3.5</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>jcl-over-slf4j</artifactId>
|
||||
|
Reference in New Issue
Block a user