Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Change user agent format to match the other helper libs

  • Loading branch information...
commit 379ec5225e4055b79a790447dce0f02c0b0dca9e 1 parent 1c4d919
Kevin Burke authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/java/com/twilio/sdk/TwilioRestClient.java
View
4 src/main/java/com/twilio/sdk/TwilioRestClient.java
@@ -44,7 +44,7 @@
public class TwilioRestClient {
/** The Constant VERSION. */
- private static final String VERSION = "3.0";
+ private static final String VERSION = "3.3.13";
/** The endpoint. */
private String endpoint = "https://api.twilio.com";
@@ -488,7 +488,7 @@ private HttpUriRequest setupRequest(String path, String method,
HttpUriRequest request = buildMethod(method, path, params);
request.addHeader(new BasicHeader("X-Twilio-Client", "java-" + VERSION));
- request.addHeader(new BasicHeader("User-Agent", "twilio-java-"
+ request.addHeader(new BasicHeader("User-Agent", "twilio-java/"
+ VERSION));
request.addHeader(new BasicHeader("Accept", "application/json"));
Please sign in to comment.
Something went wrong with that request. Please try again.