diff mod_data_access/mod_data_access.lua @ 1343:7dbde05b48a9

all the things: Remove trailing whitespace
author Florian Zeitz <florob@babelmonkeys.de>
date Tue, 11 Mar 2014 18:44:01 +0100
parents 7e060edbb548
children 8f17da746479
line wrap: on
line diff
--- a/mod_data_access/mod_data_access.lua	Mon Mar 10 08:22:58 2014 +0000
+++ b/mod_data_access/mod_data_access.lua	Tue Mar 11 18:44:01 2014 +0100
@@ -78,7 +78,7 @@
 	end
 
 	local p_host, p_user, p_store, p_type = unpack(path_items);
-	
+
 	if not p_store or not p_store:match("^[%a_]+$") then
 		return 404;
 	end
@@ -99,7 +99,7 @@
 
 		--TODO Use the Accept header
 		local content_type = p_type or "json";
-		if data and encoders[content_type] then 
+		if data and encoders[content_type] then
 			response.headers.content_type = content_type_map[content_type].."; charset=utf-8";
 			return encoders[content_type](data);
 		else