changeset 1754:d179810c6148

add url get_content_type
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 04 Feb 2023 22:53:05 -0700
parents 83780735ad9c
children 78cedcd6e1a4
files src/luan/modules/Boot.luan
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
diff -r 83780735ad9c -r d179810c6148 src/luan/modules/Boot.luan
--- a/src/luan/modules/Boot.luan	Sat Feb 04 21:26:41 2023 -0700
+++ b/src/luan/modules/Boot.luan	Sat Feb 04 22:53:05 2023 -0700
@@ -161,6 +161,11 @@
 		return io.httpCon.getResponseMessage()
 	end
 
+	function this.get_content_type()
+		check()
+		return io.httpCon.getContentType()
+	end
+
 	return this
 end