<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
HTTP
HTTP GET
--term
</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 appends terminal metadata to the default User-Agent
</name>
<setenv>
TERM=xterm-256color
COLUMNS=220
LINES=50
COLORTERM=truecolor
TERM_GRAPHICS=sixel
LANG=en_US.UTF-8
</setenv>
<command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --term
</command>
<stdin nonewline="yes">

</stdin>
</client>

# Verify data after the test has been "shot"
<verify>
<protocol crlf="headers">
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION (term=xterm-256color; cols=220; lines=50; attached=false; color=truecolor; graphics=sixel; lang=en_US.UTF-8)
Accept: */*

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