Skip to content

Commit

Permalink
UnityWebRequest POST body fix
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlyfingers committed Jun 7, 2018
1 parent d563bb0 commit 4f985e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http/RestRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class RestRequest : IDisposable {
Debug.LogWarning("Request body can only be set once");
return;
}
Request.isChunked = isChunked;
Request.chunkedTransfer = isChunked;
Request.uploadHandler = new UploadHandlerRaw(bytes);
Request.uploadHandler.contentType = contentType;
}
Expand Down

0 comments on commit 4f985e0

Please sign in to comment.