Chapter 1 What’s New for FortiOS 5.2.1 : Security Profiles : Web Filtering : Modifying HTTP Request Headers
  
Modifying HTTP Request Headers
In FortiOS 5.2, you can add, modify, and remove header fields in HTTP request when scanning web traffic in proxy-mode. If a header field exists when your FortiGate receives the request, its content will be modified based on the configurations in the URL filter.
Syntax
config web-proxy profile
edit <name>
config headers
edit <ID>
set name <name>
set content <string>
end
end
end
end