From 4e7a021279192cd7771ae13920571cdb43e8b187 Mon Sep 17 00:00:00 2001 From: matt Date: Fri, 5 Jun 2026 17:15:05 -0700 Subject: [PATCH] fix: remove duplicate Content-Type header in update_record `.json(&body)` already sets the header. the explicit `.header()` appended a second value. the duplicate caused GoDaddy to reject wildcard updates. --- src/godaddy/mod.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/godaddy/mod.rs b/src/godaddy/mod.rs index 8ad833b..a5e41c2 100644 --- a/src/godaddy/mod.rs +++ b/src/godaddy/mod.rs @@ -23,7 +23,6 @@ pub async fn update_record(record: DNSRecord, auth: &Auth) -> () { .patch(api.to_string()) .json(&body) .header("accept", "application/json") - .header("content-type", "application/json") .header("authorization", &header); debug!("{:?}", api.to_string());