| Index: components/cronet/android/java/src/org/chromium/net/HttpUrlRequest.java
|
| diff --git a/components/cronet/android/java/src/org/chromium/net/HttpUrlRequest.java b/components/cronet/android/java/src/org/chromium/net/HttpUrlRequest.java
|
| index 114ec9879114b19bac61d39820fc98c42dacce9a..fbf5178c96265bf7934170bbd5baafc6b014c657 100644
|
| --- a/components/cronet/android/java/src/org/chromium/net/HttpUrlRequest.java
|
| +++ b/components/cronet/android/java/src/org/chromium/net/HttpUrlRequest.java
|
| @@ -71,6 +71,17 @@ public interface HttpUrlRequest {
|
| long contentLength);
|
|
|
| /**
|
| + * Sets the HTTP method verb to use for this request. Currently can only be
|
| + * "POST" or "PUT".
|
| + *
|
| + * <p>The default when this method is not called is "GET" if the request has
|
| + * no body or "POST" if it does.
|
| + *
|
| + * @param method Either "POST" or "PUT".
|
| + */
|
| + void setHttpMethod(String method);
|
| +
|
| + /**
|
| * Start executing the request.
|
| * <p>
|
| * If this is a streaming upload request using a ReadableByteChannel, the
|
|
|