diff options
author | Yuchen Zeng <zyc@google.com> | 2016-10-05 17:54:00 -0700 |
---|---|---|
committer | Yuchen Zeng <zyc@google.com> | 2016-10-05 17:54:00 -0700 |
commit | 4552f6aad888878fb15b292c134b5d90233d5491 (patch) | |
tree | 09ae40f5e3f11be9accd9bea9432178dbc32df38 /src | |
parent | c7cf9a69a4299fffd071c0436df43a0a187a60fa (diff) |
Init method as POST
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ext/transport/cronet/transport/cronet_transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ext/transport/cronet/transport/cronet_transport.c b/src/core/ext/transport/cronet/transport/cronet_transport.c index 984a8bb555..4431d58351 100644 --- a/src/core/ext/transport/cronet/transport/cronet_transport.c +++ b/src/core/ext/transport/cronet/transport/cronet_transport.c @@ -781,7 +781,7 @@ static enum e_op_result execute_stream_op(grpc_exec_ctx *exec_ctx, &cronet_callbacks); CRONET_LOG(GPR_DEBUG, "%p = cronet_bidirectional_stream_create()", s->cbs); char *url; - const char *method = NULL; + const char *method = "POST"; s->header_array.headers = NULL; convert_metadata_to_cronet_headers( stream_op->send_initial_metadata->list.head, s->curr_ct.host, &url, |