]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
change header lower case rfc9113
authorBastian Dehn <hhaalo@arcor.de>
Wed, 15 Jul 2026 14:42:40 +0000 (16:42 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Wed, 15 Jul 2026 14:42:40 +0000 (16:42 +0200)
src/kds_s2000w_client.c

index c004d8eccc5054ce060fddde891831209ba9db77..45af6fef70e8b1294dddb005fba7409841822d6a 100644 (file)
@@ -11,9 +11,9 @@
 #define HTTP_PUT "PUT"
 
 #define X_STATUS_HEADER "x-status"
-#define CONTENT_TYPE_HEADER "Content-Type: application/json"
-#define ACCEPT_JSON_HEADER "Accept: application/json"
-#define ACCEPT_IMAGE_HEADER "Accept: image/jpeg,image/tiff"
+#define CONTENT_TYPE_HEADER "content-type: application/json"
+#define ACCEPT_JSON_HEADER "accept: application/json"
+#define ACCEPT_IMAGE_HEADER "accept: image/jpeg,image/tiff"
 
 #define SESSION_PATH "/api/session"
 #define STATUS_PATH "/api/session/status"