Get Header

From CometWiki

(Difference between revisions)
Jump to: navigation, search
m
m
Line 5: Line 5:
Result:
Result:
 +
GET /xap/xaptest HTTP/1.1
 +
Host: localhost:8080
 +
Connection: keep-alive
 +
User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
 +
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
 +
Accept-Encoding: gzip,deflate,sdch
 +
Accept-Language: en-US,en;q=0.8
 +
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
 +
Cookie: visits=101; loadtime=0.25

Revision as of 18:20, 6 November 2011

When issued to LUN 0, the "Get Header" control gets the entire HTTP request header that was received from the browser.

Syntax:

output$ = Control( 0, "Get Header" )

Result:

GET /xap/xaptest HTTP/1.1
Host: localhost:8080
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: visits=101; loadtime=0.25
Personal tools