summaryrefslogtreecommitdiffhomepage
path: root/examples/rust/upload-reflector/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rust/upload-reflector/src')
-rw-r--r--examples/rust/upload-reflector/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rust/upload-reflector/src/lib.rs b/examples/rust/upload-reflector/src/lib.rs
index 43bd1c6..753ea48 100644
--- a/examples/rust/upload-reflector/src/lib.rs
+++ b/examples/rust/upload-reflector/src/lib.rs
@@ -49,7 +49,7 @@ pub fn upload_reflector(ctx: *mut luw_ctx_t) -> i32 {
}
uwr_http_init_headers(ctx, 2, 0);
- uwr_http_add_header(ctx, "Content-Type", ct);
+ uwr_http_add_header_content_type(ctx, ct);
uwr_http_add_header(
ctx,
"Content-Length",