update user agent (we have not used AWS Common Runtime for a while

This commit is contained in:
Emil Lerch 2023-08-30 12:55:06 -07:00
parent 8926fd439e
commit c011f1d7f9
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -248,7 +248,7 @@ fn addHeaders(allocator: std.mem.Allocator, headers: *std.ArrayList(base.Header)
}
try headers.append(.{ .name = "Accept", .value = "application/json" });
try headers.append(.{ .name = "Host", .value = host });
try headers.append(.{ .name = "User-Agent", .value = "zig-aws 1.0, Powered by the AWS Common Runtime." });
try headers.append(.{ .name = "User-Agent", .value = "zig-aws 1.0" });
if (!has_content_type)
try headers.append(.{ .name = "Content-Type", .value = content_type });
try headers.appendSlice(additional_headers);