Commit ebc3c772 authored by Lasse Karstensen's avatar Lasse Karstensen

Formatting

parent a245adf0
......@@ -106,9 +106,7 @@ Example 2: Normalize the User-Agent string
Another way of signaling the device type is to override or normalize the
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: mobile-android
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
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment