HttpWebRequestTest.cs 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487
  1. //
  2. // HttpWebRequestTest.cs - NUnit Test Cases for System.Net.HttpWebRequest
  3. //
  4. // Authors:
  5. // Lawrence Pit ([email protected])
  6. // Martin Willemoes Hansen ([email protected])
  7. // Gonzalo Paniagua Javier ([email protected])
  8. //
  9. // (C) 2003 Martin Willemoes Hansen
  10. // Copyright (c) 2005 Novell, Inc. (http://www.novell.com
  11. //
  12. using NUnit.Framework;
  13. using System;
  14. using System.Collections;
  15. using System.Collections.Specialized;
  16. using System.Globalization;
  17. using System.IO;
  18. using System.Net;
  19. using System.Net.Sockets;
  20. using System.Security.Cryptography;
  21. using System.Security.Cryptography.X509Certificates;
  22. using System.Text;
  23. using System.Threading;
  24. #if !TARGET_JVM
  25. using Mono.Security.Authenticode;
  26. using Mono.Security.Protocol.Tls;
  27. #endif
  28. namespace MonoTests.System.Net
  29. {
  30. [TestFixture]
  31. public class HttpWebRequestTest
  32. {
  33. [Test]
  34. [Category("InetAccess")]
  35. public void Sync ()
  36. {
  37. HttpWebRequest req = (HttpWebRequest) WebRequest.Create ("http://www.google.com");
  38. Assertion.AssertNotNull ("req:If Modified Since: ", req.IfModifiedSince);
  39. req.UserAgent = "MonoClient v1.0";
  40. Assertion.AssertEquals ("req Header 1", "User-Agent", req.Headers.GetKey (0));
  41. Assertion.AssertEquals ("req Header 2", "MonoClient v1.0", req.Headers.Get (0));
  42. HttpWebResponse res = (HttpWebResponse) req.GetResponse ();
  43. Assertion.AssertEquals ("res:HttpStatusCode: ", "OK", res.StatusCode.ToString ());
  44. Assertion.AssertEquals ("res:HttpStatusDescription: ", "OK", res.StatusDescription);
  45. Assertion.AssertEquals ("res Header 1", "text/html", res.Headers.Get ("Content-Type"));
  46. Assertion.AssertNotNull ("Last Modified: ", res.LastModified);
  47. Assertion.AssertEquals ("res:", 0, res.Cookies.Count);
  48. res.Close ();
  49. }
  50. [Test]
  51. public void AddRange ()
  52. {
  53. HttpWebRequest req = (HttpWebRequest) WebRequest.Create ("http://www.google.com");
  54. req.AddRange (10);
  55. req.AddRange (50, 90);
  56. req.AddRange ("bytes", 100);
  57. req.AddRange ("bytes", 100, 120);
  58. Assertion.AssertEquals ("#1", "bytes=10-,50-90,100-,100-120", req.Headers ["Range"]);
  59. try {
  60. req.AddRange ("bits", 2000);
  61. Assertion.Fail ("#2");
  62. } catch (InvalidOperationException) {}
  63. }
  64. [Test]
  65. [Category("InetAccess")]
  66. public void Cookies1 ()
  67. {
  68. // The purpose of this test is to ensure that the cookies we get from a request
  69. // are stored in both, the CookieCollection in HttpWebResponse and the CookieContainer
  70. // in HttpWebRequest.
  71. // If this URL stops sending *one* and only one cookie, replace it.
  72. string url = "http://www.elmundo.es";
  73. CookieContainer cookies = new CookieContainer ();
  74. HttpWebRequest req = (HttpWebRequest) WebRequest.Create (url);
  75. req.KeepAlive = false;
  76. req.UserAgent = "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv; 1.7.6) Gecko/20050317 Firefox/1.0.2";
  77. req.CookieContainer = cookies;
  78. Assertion.AssertEquals ("#01", 0, cookies.Count);
  79. using (HttpWebResponse res = (HttpWebResponse) req.GetResponse()) {
  80. CookieCollection coll = req.CookieContainer.GetCookies (new Uri (url));
  81. Assertion.AssertEquals ("#02", 1, coll.Count);
  82. Assertion.AssertEquals ("#03", 1, res.Cookies.Count);
  83. Cookie one = coll [0];
  84. Cookie two = res.Cookies [0];
  85. Assertion.AssertEquals ("#04", true, object.ReferenceEquals (one, two));
  86. }
  87. }
  88. #if !TARGET_JVM //NotWorking
  89. [Test]
  90. public void SslClientBlock ()
  91. {
  92. // This tests that the write request/initread/write body sequence does not hang
  93. // when using SSL.
  94. // If there's a regression for this, the test will hang.
  95. ServicePointManager.CertificatePolicy = new AcceptAllPolicy ();
  96. try {
  97. SslHttpServer server = new SslHttpServer ();
  98. server.Start ();
  99. string url = String.Format ("https://{0}:{1}/nothing.html", server.IPAddress, server.Port);
  100. HttpWebRequest request = (HttpWebRequest) WebRequest.Create (url);
  101. request.Method = "POST";
  102. Stream stream = request.GetRequestStream ();
  103. byte [] bytes = new byte [100];
  104. stream.Write (bytes, 0, bytes.Length);
  105. stream.Close ();
  106. HttpWebResponse resp = (HttpWebResponse) request.GetResponse ();
  107. Assertion.AssertEquals ("StatusCode", 200, (int) resp.StatusCode);
  108. StreamReader sr = new StreamReader (resp.GetResponseStream (), Encoding.UTF8);
  109. string x = sr.ReadToEnd ();
  110. sr.Close ();
  111. resp.Close ();
  112. server.Stop ();
  113. if (server.Error != null)
  114. throw server.Error;
  115. } finally {
  116. ServicePointManager.CertificatePolicy = null;
  117. }
  118. }
  119. #endif
  120. [Test]
  121. #if TARGET_JVM
  122. [Category("NotWorking")]
  123. #endif
  124. public void Missing_ContentEncoding ()
  125. {
  126. ServicePointManager.CertificatePolicy = new AcceptAllPolicy ();
  127. try {
  128. BadChunkedServer server = new BadChunkedServer ();
  129. server.Start ();
  130. string url = String.Format ("http://{0}:{1}/nothing.html", server.IPAddress, server.Port);
  131. HttpWebRequest request = (HttpWebRequest) WebRequest.Create (url);
  132. request.Method = "GET";
  133. HttpWebResponse resp = (HttpWebResponse) request.GetResponse ();
  134. Assert.AreEqual ("", resp.ContentEncoding);
  135. resp.Close ();
  136. server.Stop ();
  137. if (server.Error != null)
  138. throw server.Error;
  139. } finally {
  140. ServicePointManager.CertificatePolicy = null;
  141. }
  142. }
  143. [Test]
  144. #if TARGET_JVM
  145. [Category ("NotWorking")]
  146. #endif
  147. public void BadServer_ChunkedClose ()
  148. {
  149. // The server will send a chunked response without a 'last-chunked' mark
  150. // and then shutdown the socket for sending.
  151. BadChunkedServer server = new BadChunkedServer ();
  152. server.Start ();
  153. string url = String.Format ("http://{0}:{1}/nothing.html", server.IPAddress, server.Port);
  154. HttpWebRequest request = (HttpWebRequest) WebRequest.Create (url);
  155. HttpWebResponse resp = (HttpWebResponse) request.GetResponse ();
  156. string x = null;
  157. try {
  158. byte [] bytes = new byte [32];
  159. // Using StreamReader+UTF8Encoding here fails on MS runtime
  160. Stream stream = resp.GetResponseStream ();
  161. int nread = stream.Read (bytes, 0, 32);
  162. Assertion.AssertEquals ("#01", 16, nread);
  163. x = Encoding.ASCII.GetString (bytes, 0, 16);
  164. } finally {
  165. resp.Close ();
  166. server.Stop ();
  167. }
  168. if (server.Error != null)
  169. throw server.Error;
  170. Assertion.AssertEquals ("1234567890123456", x);
  171. }
  172. [Test]
  173. [Ignore ("This test asserts that our code violates RFC 2616")]
  174. public void MethodCase ()
  175. {
  176. ListDictionary methods = new ListDictionary ();
  177. #if NET_2_0
  178. methods.Add ("post", "POST");
  179. methods.Add ("puT", "PUT");
  180. #else
  181. methods.Add ("post", "post");
  182. methods.Add ("puT", "puT");
  183. #endif
  184. methods.Add ("POST", "POST");
  185. methods.Add ("whatever", "whatever");
  186. methods.Add ("PUT", "PUT");
  187. IPEndPoint ep = new IPEndPoint (IPAddress.Loopback, 8000);
  188. string url = "http://" + IPAddress.Loopback.ToString () + ":8000/test/";
  189. foreach (DictionaryEntry de in methods) {
  190. SocketResponder responder = new SocketResponder (new IPEndPoint (IPAddress.Loopback, 8000),
  191. new SocketRequestHandler (EchoRequestHandler));
  192. responder.Start ();
  193. HttpWebRequest req = (HttpWebRequest) WebRequest.Create (url);
  194. req.Method = (string) de.Key;
  195. req.Timeout = 2000;
  196. req.ReadWriteTimeout = 2000;
  197. req.KeepAlive = false;
  198. Stream rs = req.GetRequestStream ();
  199. rs.Close ();
  200. using (HttpWebResponse resp = (HttpWebResponse) req.GetResponse ()) {
  201. StreamReader sr = new StreamReader (resp.GetResponseStream (),
  202. Encoding.UTF8);
  203. string line = sr.ReadLine ();
  204. sr.Close ();
  205. Assert.AreEqual (((string) de.Value) + " /test/ HTTP/1.1",
  206. line, req.Method);
  207. resp.Close ();
  208. }
  209. responder.Stop ();
  210. }
  211. }
  212. [Test]
  213. [Ignore ("This test asserts that our code violates RFC 2616")]
  214. public void GetRequestStream_Body_NotAllowed ()
  215. {
  216. string [] methods = new string [] { "GET", "HEAD", "CONNECT",
  217. "get", "HeAd", "ConNect" };
  218. foreach (string method in methods) {
  219. HttpWebRequest req = (HttpWebRequest) WebRequest.Create (
  220. "http://localhost:8000");
  221. req.Method = method;
  222. try {
  223. req.GetRequestStream ();
  224. Assert.Fail ("#1:" + method);
  225. } catch (ProtocolViolationException ex) {
  226. Assert.AreEqual (typeof (ProtocolViolationException), ex.GetType (), "#2:" + method);
  227. Assert.IsNull (ex.InnerException, "#3:" + method);
  228. Assert.IsNotNull (ex.Message, "#4:" + method);
  229. }
  230. }
  231. }
  232. private static byte [] EchoRequestHandler (Socket socket)
  233. {
  234. MemoryStream ms = new MemoryStream ();
  235. byte [] buffer = new byte [4096];
  236. int bytesReceived = socket.Receive (buffer);
  237. while (bytesReceived > 0) {
  238. ms.Write (buffer, 0, bytesReceived);
  239. if (socket.Available > 0) {
  240. bytesReceived = socket.Receive (buffer);
  241. } else {
  242. bytesReceived = 0;
  243. }
  244. }
  245. ms.Flush ();
  246. ms.Position = 0;
  247. StreamReader sr = new StreamReader (ms, Encoding.UTF8);
  248. string request = sr.ReadToEnd ();
  249. MemoryStream outputStream = new MemoryStream ();
  250. StringWriter sw = new StringWriter ();
  251. sw.WriteLine ("HTTP/1.1 200 OK");
  252. sw.WriteLine ("Content-Type: text/xml");
  253. sw.WriteLine ("Content-Length: " + request.Length.ToString (CultureInfo.InvariantCulture));
  254. sw.WriteLine ();
  255. sw.Write (request);
  256. sw.Flush ();
  257. return Encoding.UTF8.GetBytes (sw.ToString ());
  258. }
  259. class BadChunkedServer : HttpServer {
  260. protected override void Run ()
  261. {
  262. Socket client = sock.Accept ();
  263. NetworkStream ns = new NetworkStream (client, true);
  264. StreamWriter writer = new StreamWriter (ns, Encoding.ASCII);
  265. writer.Write ( "HTTP/1.1 200 OK\r\n" +
  266. "Transfer-Encoding: chunked\r\n" +
  267. "Connection: close\r\n" +
  268. "Content-Type: text/plain; charset=UTF-8\r\n\r\n");
  269. // This body lacks a 'last-chunk' (see RFC 2616)
  270. writer.Write ("10\r\n1234567890123456\r\n");
  271. writer.Flush ();
  272. client.Shutdown (SocketShutdown.Send);
  273. Thread.Sleep (1000);
  274. writer.Close ();
  275. }
  276. }
  277. class AcceptAllPolicy : ICertificatePolicy {
  278. public bool CheckValidationResult (ServicePoint sp, X509Certificate certificate, WebRequest request, int error)
  279. {
  280. return true;
  281. }
  282. }
  283. abstract class HttpServer
  284. {
  285. protected Socket sock;
  286. protected Exception error;
  287. protected ManualResetEvent evt;
  288. public HttpServer ()
  289. {
  290. sock = new Socket (AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
  291. sock.Bind (new IPEndPoint (IPAddress.Loopback, 0));
  292. sock.Listen (1);
  293. }
  294. public void Start ()
  295. {
  296. evt = new ManualResetEvent (false);
  297. Thread th = new Thread (new ThreadStart (Run));
  298. th.Start ();
  299. }
  300. public void Stop ()
  301. {
  302. evt.Set ();
  303. sock.Close ();
  304. }
  305. public IPAddress IPAddress {
  306. get { return ((IPEndPoint) sock.LocalEndPoint).Address; }
  307. }
  308. public int Port {
  309. get { return ((IPEndPoint) sock.LocalEndPoint).Port; }
  310. }
  311. public Exception Error {
  312. get { return error; }
  313. }
  314. protected abstract void Run ();
  315. }
  316. #if !TARGET_JVM
  317. class SslHttpServer : HttpServer {
  318. X509Certificate _certificate;
  319. protected override void Run ()
  320. {
  321. try {
  322. Socket client = sock.Accept ();
  323. NetworkStream ns = new NetworkStream (client, true);
  324. SslServerStream s = new SslServerStream (ns, Certificate, false, false);
  325. s.PrivateKeyCertSelectionDelegate += new PrivateKeySelectionCallback (GetPrivateKey);
  326. StreamReader reader = new StreamReader (s);
  327. StreamWriter writer = new StreamWriter (s, Encoding.ASCII);
  328. string line;
  329. string hello = "<html><body><h1>Hello World!</h1></body></html>";
  330. string answer = "HTTP/1.0 200\r\n" +
  331. "Connection: close\r\n" +
  332. "Content-Type: text/html\r\n" +
  333. "Content-Encoding: " + Encoding.ASCII.WebName + "\r\n" +
  334. "Content-Length: " + hello.Length + "\r\n" +
  335. "\r\n" + hello;
  336. // Read the headers
  337. do {
  338. line = reader.ReadLine ();
  339. } while (line != "" && line != null && line.Length > 0);
  340. // Now the content. We know it's 100 bytes.
  341. // This makes BeginRead in sslclientstream block.
  342. char [] cs = new char [100];
  343. reader.Read (cs, 0, 100);
  344. writer.Write (answer);
  345. writer.Flush ();
  346. evt.WaitOne (50000, false);
  347. } catch (Exception e) {
  348. error = e;
  349. }
  350. }
  351. X509Certificate Certificate {
  352. get {
  353. if (_certificate == null)
  354. _certificate = new X509Certificate (CertData.Certificate);
  355. return _certificate;
  356. }
  357. }
  358. AsymmetricAlgorithm GetPrivateKey (X509Certificate certificate, string targetHost)
  359. {
  360. PrivateKey key = new PrivateKey (CertData.PrivateKey, null);
  361. return key.RSA;
  362. }
  363. }
  364. class CertData {
  365. public readonly static byte [] Certificate = {
  366. 48, 130, 1, 191, 48, 130, 1, 40, 160, 3, 2, 1, 2, 2, 16, 36,
  367. 14, 97, 190, 146, 132, 208, 71, 175, 6, 87, 168, 185, 175, 55, 43, 48,
  368. 13, 6, 9, 42, 134, 72, 134, 247, 13, 1, 1, 4, 5, 0, 48, 18,
  369. 49, 16, 48, 14, 6, 3, 85, 4, 3, 19, 7, 103, 111, 110, 122, 97,
  370. 108, 111, 48, 30, 23, 13, 48, 53, 48, 54, 50, 50, 49, 57, 51, 48,
  371. 52, 54, 90, 23, 13, 51, 57, 49, 50, 51, 49, 50, 51, 53, 57, 53,
  372. 57, 90, 48, 18, 49, 16, 48, 14, 6, 3, 85, 4, 3, 19, 7, 103,
  373. 111, 110, 122, 97, 108, 111, 48, 129, 158, 48, 13, 6, 9, 42, 134, 72,
  374. 134, 247, 13, 1, 1, 1, 5, 0, 3, 129, 140, 0, 48, 129, 136, 2,
  375. 129, 129, 0, 138, 9, 38, 25, 166, 252, 59, 26, 39, 184, 128, 216, 38,
  376. 73, 41, 86, 30, 228, 160, 205, 41, 135, 115, 223, 44, 62, 42, 198, 178,
  377. 190, 81, 11, 25, 21, 216, 49, 179, 130, 246, 52, 97, 175, 212, 94, 157,
  378. 231, 162, 66, 161, 103, 63, 204, 83, 141, 172, 119, 97, 225, 206, 98, 101,
  379. 210, 106, 2, 206, 81, 90, 173, 47, 41, 199, 209, 241, 177, 177, 96, 207,
  380. 254, 220, 190, 66, 180, 153, 0, 209, 14, 178, 69, 194, 3, 37, 116, 239,
  381. 49, 23, 185, 245, 255, 126, 35, 85, 246, 56, 244, 107, 117, 24, 14, 57,
  382. 9, 111, 147, 189, 220, 142, 57, 104, 153, 193, 205, 19, 14, 22, 157, 16,
  383. 24, 80, 201, 2, 2, 0, 17, 163, 23, 48, 21, 48, 19, 6, 3, 85,
  384. 29, 37, 4, 12, 48, 10, 6, 8, 43, 6, 1, 5, 5, 7, 3, 1,
  385. 48, 13, 6, 9, 42, 134, 72, 134, 247, 13, 1, 1, 4, 5, 0, 3,
  386. 129, 129, 0, 64, 49, 57, 253, 218, 198, 229, 51, 189, 12, 154, 225, 183,
  387. 160, 147, 90, 113, 172, 69, 122, 28, 77, 97, 215, 231, 194, 150, 29, 196,
  388. 65, 95, 218, 99, 142, 111, 79, 205, 109, 76, 32, 92, 220, 76, 88, 53,
  389. 237, 80, 11, 85, 44, 91, 21, 210, 12, 34, 223, 234, 18, 187, 136, 62,
  390. 26, 240, 103, 180, 12, 226, 221, 250, 247, 129, 51, 23, 129, 165, 56, 67,
  391. 43, 83, 244, 110, 207, 24, 253, 195, 16, 46, 80, 113, 80, 18, 2, 254,
  392. 120, 147, 151, 164, 23, 210, 230, 100, 19, 197, 179, 28, 194, 48, 106, 159,
  393. 155, 144, 37, 82, 44, 160, 40, 52, 146, 174, 77, 188, 160, 230, 75, 172,
  394. 123, 3, 254,
  395. };
  396. public readonly static byte [] PrivateKey = {
  397. 30, 241, 181, 176, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0,
  398. 0, 0, 0, 0, 84, 2, 0, 0, 7, 2, 0, 0, 0, 36, 0, 0,
  399. 82, 83, 65, 50, 0, 4, 0, 0, 17, 0, 0, 0, 201, 80, 24, 16,
  400. 157, 22, 14, 19, 205, 193, 153, 104, 57, 142, 220, 189, 147, 111, 9, 57,
  401. 14, 24, 117, 107, 244, 56, 246, 85, 35, 126, 255, 245, 185, 23, 49, 239,
  402. 116, 37, 3, 194, 69, 178, 14, 209, 0, 153, 180, 66, 190, 220, 254, 207,
  403. 96, 177, 177, 241, 209, 199, 41, 47, 173, 90, 81, 206, 2, 106, 210, 101,
  404. 98, 206, 225, 97, 119, 172, 141, 83, 204, 63, 103, 161, 66, 162, 231, 157,
  405. 94, 212, 175, 97, 52, 246, 130, 179, 49, 216, 21, 25, 11, 81, 190, 178,
  406. 198, 42, 62, 44, 223, 115, 135, 41, 205, 160, 228, 30, 86, 41, 73, 38,
  407. 216, 128, 184, 39, 26, 59, 252, 166, 25, 38, 9, 138, 175, 88, 190, 223,
  408. 27, 24, 224, 123, 190, 69, 164, 234, 129, 59, 108, 229, 248, 62, 187, 15,
  409. 235, 147, 162, 83, 47, 123, 170, 190, 224, 31, 215, 110, 143, 31, 227, 216,
  410. 85, 88, 154, 83, 207, 229, 41, 28, 237, 116, 181, 17, 37, 141, 224, 185,
  411. 164, 144, 141, 233, 164, 138, 177, 241, 115, 181, 230, 150, 7, 92, 139, 141,
  412. 113, 95, 57, 191, 211, 165, 217, 250, 197, 68, 164, 184, 168, 43, 48, 65,
  413. 177, 237, 173, 144, 148, 221, 62, 189, 147, 63, 216, 188, 206, 103, 226, 171,
  414. 32, 20, 230, 116, 144, 192, 1, 39, 202, 87, 74, 250, 6, 142, 188, 23,
  415. 45, 4, 112, 191, 253, 67, 69, 70, 128, 143, 44, 234, 41, 96, 195, 82,
  416. 202, 35, 158, 149, 240, 151, 23, 25, 166, 179, 85, 144, 58, 120, 149, 229,
  417. 205, 34, 8, 110, 86, 119, 130, 210, 37, 173, 65, 71, 169, 67, 8, 51,
  418. 20, 96, 51, 155, 3, 39, 85, 187, 40, 193, 57, 19, 99, 78, 173, 28,
  419. 129, 154, 108, 175, 8, 138, 237, 71, 27, 148, 129, 35, 47, 57, 101, 237,
  420. 168, 178, 227, 221, 212, 63, 124, 254, 253, 215, 183, 159, 49, 103, 74, 49,
  421. 67, 160, 171, 72, 194, 215, 108, 251, 178, 18, 184, 100, 211, 105, 21, 186,
  422. 39, 66, 218, 154, 72, 222, 90, 237, 179, 251, 51, 224, 212, 56, 251, 6,
  423. 209, 151, 198, 176, 89, 110, 35, 141, 248, 237, 223, 68, 135, 206, 207, 169,
  424. 254, 219, 243, 130, 71, 11, 94, 113, 233, 92, 63, 156, 169, 72, 215, 110,
  425. 95, 94, 191, 50, 59, 89, 187, 59, 183, 99, 161, 146, 233, 245, 219, 80,
  426. 87, 113, 251, 50, 144, 195, 158, 46, 189, 232, 119, 91, 75, 22, 6, 176,
  427. 39, 206, 25, 196, 213, 195, 219, 24, 28, 103, 104, 36, 137, 128, 4, 119,
  428. 163, 40, 126, 87, 18, 86, 128, 243, 213, 101, 2, 237, 78, 64, 160, 55,
  429. 199, 93, 90, 126, 175, 199, 55, 89, 234, 190, 5, 16, 196, 88, 28, 208,
  430. 28, 92, 32, 115, 204, 9, 202, 101, 15, 123, 43, 75, 90, 144, 95, 179,
  431. 102, 249, 57, 150, 204, 99, 147, 203, 16, 63, 81, 244, 226, 237, 82, 204,
  432. 20, 200, 140, 65, 83, 217, 161, 23, 123, 37, 115, 12, 100, 73, 70, 190,
  433. 32, 235, 174, 140, 148, 157, 47, 238, 40, 208, 228, 80, 54, 187, 156, 252,
  434. 253, 230, 231, 156, 138, 125, 96, 79, 3, 27, 143, 55, 146, 169, 165, 61,
  435. 238, 60, 227, 77, 217, 93, 117, 122, 111, 46, 173, 113,
  436. };
  437. }
  438. #endif
  439. }
  440. }