01: package com.sun.portal.samples.asc.tests;
02:
03: public class Firefox1dot5 implements Device {
04:
05: private String[][] headers = {
06: {
07: "User-Agent",
08: "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1" },
09: {
10: "Accept",
11: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*;q=0.5" },
12: { "Accept-Language", "en-us,en;q=0.5" },
13: { "Accept-Encoding", "gzip,deflate" },
14: { "Accept-Charset", "ISO-8859-1,utf-8;q=0.7,*;q=0.7" },
15: { "Keep-Alive", "300" }, { "Connection", "keep-alive" } };
16:
17: public String[][] getHeaders() {
18: return headers;
19: }
20:
21: /* User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1
22: Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*;q=0.5
23: Accept-Language: en-us,en;q=0.5
24: Accept-Encoding: gzip,deflate
25: Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
26: Keep-Alive: 300
27: Connection: keep-alive
28: */
29:
30: }
|