Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-devicedetect
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-devicedetect
Commits
ebc3c772
Commit
ebc3c772
authored
Mar 06, 2012
by
Lasse Karstensen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Formatting
parent
a245adf0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
INSTALL.rst
INSTALL.rst
+1
-3
No files found.
INSTALL.rst
View file @
ebc3c772
...
@@ -106,9 +106,7 @@ Example 2: Normalize the User-Agent string
...
@@ -106,9 +106,7 @@ Example 2: Normalize the User-Agent string
Another way of signaling the device type is to override or normalize the
Another way of signaling the device type is to override or normalize the
User-Agent header sent to the backend::
User-Agent header sent to the backend::
User-Agent: Mozilla/5.0 (Linux; U; Android 2.2; nb-no; HTC Desire Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
User-Agent: Mozilla/5.0 (Linux; U; Android 2.2; nb-no; HTC Desire Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 --> User-Agent: mobile-android
->
User-Agent: mobile-android
This works if you don't need the original header for anything. A possible use
This works if you don't need the original header for anything. A possible use
for this is for CGI scripts where only a small set of predefined headers are
for this is for CGI scripts where only a small set of predefined headers are
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment