F5 BIG-IP LTM Specialist: Maintain and Troubleshoot — Question 105
An LTM Specialist needs to rewrite text within an HTML response from a web server. A client is sending the following HTTP request:
GET / HTTP/1.1 -
Host: www.example.com -
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-LanguagE. en-US,en;q=0.5 -
Accept-EncodinG. gzip, deflate -
Cache-Control: no-cache -
Connection: keep-alive -
CookiE. somecookie=1 -
HTTP/1.1 200 OK -
Server: Apache/2.2.15 (Unix)
Last-ModifieD. Wed, 12 Aug 2009 00:00:30 GMT
Accept-Ranges: bytes -
Content-LengtH. 1063 -
X-Cnection: close -
Content-TypE. text/html; charset=UTF-8
Vary: Accept-Encoding -
Content-EncodinG. gzip -
Connection: Keep-Alive -
Although a stream profile has been added to the virtual server, the content within the HTTP response is NOT being matched and therefore NOT modified.
Which header field is contributing to the issue?
Answer options
- A. HTTP Method
- B. Cookie content
- C. User-Agent Value
- D. Accept-Encoding header
Correct answer: D
Explanation
The Accept-Encoding header is responsible for indicating the content encoding that the client can understand. If this header specifies 'gzip', the response may be compressed, preventing the modification of the content. The other options do not affect content encoding and thus do not contribute to the issue.