<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
HTTP
HTTP GET
--term
--user-agent
</keywords>
</info>

# Server-side
<reply>
<data nocheck="yes">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 2
Connection: close
Content-Type: text/plain

OK
</data>
</reply>

# Client-side
<client>
<server>
http
</server>
<name>
--term does not modify an explicit --user-agent value
</name>
<setenv>
TERM=xterm-256color
COLUMNS=220
LINES=50
COLORTERM=truecolor
LANG=en_US.UTF-8
</setenv>
<command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --term --user-agent custom-agent/1.0
</command>
</client>

# Verify data after the test has been "shot"
<verify>
<protocol crlf="headers">
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: custom-agent/1.0
Accept: */*

</protocol>
</verify>
</testcase>
