Skip to content

Commit

Permalink
Update DynamoMLDataPipeline.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
reddyashish committed Apr 15, 2024
1 parent ddf2a30 commit ea35797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DynamoMLDataPipeline/DynamoMLDataPipeline.cs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ static void SendToMLDataPipeline(string filePath, RestClient client, string toke

uploadBinaryRequest.AddHeader("Content-Type", ContentType.Binary);

uploadBinaryRequest.AddOrUpdateParameter("text/txt", base64CompressedBuffer, ParameterType.RequestBody)
uploadBinaryRequest.AddOrUpdateParameter("text/txt", base64CompressedBuffer, ParameterType.RequestBody);

var uploadBinaryResponse = fileUploadClient.ExecutePut(uploadBinaryRequest);
if (uploadBinaryResponse.StatusCode != System.Net.HttpStatusCode.OK)
Expand Down

0 comments on commit ea35797

Please sign in to comment.