ls (plain text)
If you want plain text output from a command that defaults to HTML, use the HTTP/1.1 Accept header. (You can still specify HTTP/1.0 if you don’t want to conform to the 1.1 protocol specification--if, for example, you don’t want to receive chunked encoding of content.)
POST /exec HTTP/1.0
Authorization: Basic dXNlcjpwYXNz
Accept: text/plain
Content-length: 2
ls
HTTP/1.1 200 OK
Content-Type: text/plain
Date Time Size Lines Name
02/04/2002 23:11:38 2247 96 myrunning.cfg
10/26/2001 02:16:46 28 1 test.cfg
02/06/2002 22:42:37 167946902 na release.img