From e58a4c46e3da11ee28cefa253cd24a3cd67e1519 Mon Sep 17 00:00:00 2001 From: ItsMicin Date: Wed, 16 Feb 2022 08:15:33 +0700 Subject: [PATCH] release --- data/com.github.gabutakut.gabutdm.appdata.xml.in | 6 ++++++ meson.build | 2 +- src/GabutServer.vala | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/data/com.github.gabutakut.gabutdm.appdata.xml.in b/data/com.github.gabutakut.gabutdm.appdata.xml.in index 799b377..514125f 100644 --- a/data/com.github.gabutakut.gabutdm.appdata.xml.in +++ b/data/com.github.gabutakut.gabutdm.appdata.xml.in @@ -28,6 +28,12 @@ com.github.gabutakut.gabutdm + + +

Modebutton to Radiobutton

+

Open tracker list

+
+

Dbus Menu

diff --git a/meson.build b/meson.build index 396bade..a64e0c0 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -project ('com.github.gabutakut.gabutdm','vala', 'c', version: '1.7.2') +project ('com.github.gabutakut.gabutdm','vala', 'c', version: '1.7.3') i18n = import ('i18n') diff --git a/src/GabutServer.vala b/src/GabutServer.vala index 32706e0..aa66106 100644 --- a/src/GabutServer.vala +++ b/src/GabutServer.vala @@ -62,7 +62,7 @@ namespace Gabut { self.pause_message (msg); if (msg.method == "POST") { try { - if (msg.request_headers.get_content_type (null) == "multipart/form-data") { + if (msg.request_headers.get_content_type (null) == Soup.FORM_MIME_TYPE_MULTIPART) { var multipart = new Soup.Multipart.from_message (msg.request_headers , msg.request_body); Soup.MessageHeaders headers; unowned Soup.Buffer body; @@ -156,7 +156,7 @@ namespace Gabut { } } msg.set_status_full (200, "OK"); - } else if (msg.request_headers.get_content_type (null) == "multipart/form-data") { + } else if (msg.request_headers.get_content_type (null) == Soup.FORM_MIME_TYPE_MULTIPART) { var multipart = new Soup.Multipart.from_message (msg.request_headers , msg.request_body); Soup.MessageHeaders headers; unowned Soup.Buffer body;