From e9b4094dba248e7a3df1792008a07c5dc9cb5f3e Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 11 Feb 2019 21:53:07 +0100 Subject: gps-track: replace http-content-type with http-header-field This changed in 6.44beta75. --- gps-track | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gps-track b/gps-track index 158821d..3870c60 100644 --- a/gps-track +++ b/gps-track @@ -15,7 +15,7 @@ if ($Gps->"valid" = true) do={ :set ($Gps->"longitude") [ :pick ($Gps->"longitude") 0 [ :find ($Gps->"longitude") "\00" ] ]; :tool fetch mode=https check-certificate=yes-without-crl \ $GpsTrackUrl keep-result=no \ - http-method=post http-content-type="application/json" \ + http-method=post http-header-field="Content-Type: application/json" \ http-data=("{" . \ "\"lat\":\"" . ($Gps->"latitude") . "\"," . \ "\"lon\":\"" . ($Gps->"longitude") . "\"," . \ -- cgit v1.2.3-70-g09d2