Hello,

This is the first patch of the set related to the DeviceAtlas.
Please cc ttr...@deviceatlas.com for any response as well.

Kindest regards.

David Carlier.
From e282338229548565e655e06958b9bdb58e9ebf9d Mon Sep 17 00:00:00 2001
From: David Carlier <dcarl...@afilias.info>
Date: Fri, 25 Sep 2015 14:06:08 +0100
Subject: [PATCH 1/7] MINOR: README: DeviceAtlas sample configuration updates

Needs to distinguish the convertor and the fetch type samples.
More explanations are made about their specific purposes.
---
 README | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/README b/README
index 5ebc141..5342200 100644
--- a/README
+++ b/README
@@ -233,8 +233,25 @@ Sample configuration :
     frontend
 	bind *:8881
 	default_backend servers
-	http-request set-header X-DeviceAtlas-Data %[req.fhdr(User-Agent),da-csv(primaryHardwareType,osName,osVersion,browserName,browserVersion)]
 
+There are two distinct methods available, one which leverages all HTTP headers 
+and one which uses only a single HTTP header for the detection. 
+The former method is highly recommended and more accurate.
+
+
+All HTTP headers
+
+
+      http-request set-header X-DeviceAtlas-Data %[da-csv-fetch(primaryHardwareType,osName,osVersion,browserName,browserVersion)]
+
+
+Single HTTP header (e.g. User-Agent)
+
+
+      http-request set-header X-DeviceAtlas-Data %[req.fhdr(User-Agent),da-csv-conv(primaryHardwareType,osName,osVersion,browserName,browserVersion)]
+
+
+Please find more information about DeviceAtlas and the detection methods at https://deviceatlas.com/resources .
 
 1.2) 51Degrees Device Detection
 -------------------------------
-- 
2.1.4

Reply via email to