httpclient 2.2.0.2 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. data/lib/httpclient.rb +5 -5
  2. data/lib/httpclient/cacert.p7s +12 -12
  3. data/lib/httpclient/cacert_sha1.p7s +12 -12
  4. data/lib/httpclient/http.rb +15 -8
  5. data/lib/httpclient/session.rb +6 -1
  6. data/lib/httpclient/ssl_config.rb +18 -14
  7. data/sample/async.rb +8 -0
  8. data/sample/auth.rb +11 -0
  9. data/sample/cookie.rb +18 -0
  10. data/sample/dav.rb +103 -0
  11. data/sample/howto.rb +49 -0
  12. data/sample/oauth_buzz.rb +57 -0
  13. data/sample/oauth_friendfeed.rb +59 -0
  14. data/sample/oauth_twitter.rb +61 -0
  15. data/sample/ssl/0cert.pem +22 -0
  16. data/sample/ssl/0key.pem +30 -0
  17. data/sample/ssl/1000cert.pem +19 -0
  18. data/sample/ssl/1000key.pem +18 -0
  19. data/sample/ssl/htdocs/index.html +10 -0
  20. data/sample/ssl/ssl_client.rb +22 -0
  21. data/sample/ssl/webrick_httpsd.rb +29 -0
  22. data/sample/stream.rb +21 -0
  23. data/sample/thread.rb +27 -0
  24. data/sample/wcat.rb +21 -0
  25. data/test/ca.cert +23 -0
  26. data/test/client.cert +19 -0
  27. data/test/client.key +15 -0
  28. data/test/helper.rb +99 -0
  29. data/test/htdigest +1 -0
  30. data/test/htpasswd +2 -0
  31. data/test/runner.rb +2 -0
  32. data/test/server.cert +19 -0
  33. data/test/server.key +15 -0
  34. data/test/sslsvr.rb +65 -0
  35. data/test/subca.cert +21 -0
  36. data/test/test_auth.rb +196 -0
  37. data/test/test_cookie.rb +398 -0
  38. data/test/test_http-access2.rb +497 -0
  39. data/test/test_httpclient.rb +1544 -0
  40. data/test/test_ssl.rb +215 -0
  41. metadata +53 -38
  42. data/lib/http-access2.rbc +0 -732
  43. data/lib/httpclient.rbc +0 -13559
  44. data/lib/httpclient/auth.rbc +0 -13772
  45. data/lib/httpclient/connection.rbc +0 -767
  46. data/lib/httpclient/cookie.rbc +0 -8442
  47. data/lib/httpclient/http.rbc +0 -14163
  48. data/lib/httpclient/session.rbc +0 -15846
  49. data/lib/httpclient/ssl_config.rbc +0 -5575
  50. data/lib/httpclient/timeout.rbc +0 -2411
  51. data/lib/httpclient/util.rbc +0 -1278
@@ -1,767 +0,0 @@
1
- !RBIX
2
- 10485556469317998123
3
- x
4
- M
5
- 1
6
- n
7
- n
8
- x
9
- 10
10
- __script__
11
- i
12
- 29
13
- 99
14
- 7
15
- 0
16
- 1
17
- 65
18
- 49
19
- 1
20
- 3
21
- 13
22
- 99
23
- 12
24
- 7
25
- 2
26
- 12
27
- 7
28
- 3
29
- 12
30
- 65
31
- 12
32
- 49
33
- 4
34
- 4
35
- 15
36
- 49
37
- 2
38
- 0
39
- 15
40
- 2
41
- 11
42
- I
43
- 6
44
- I
45
- 0
46
- I
47
- 0
48
- I
49
- 0
50
- n
51
- p
52
- 5
53
- x
54
- 10
55
- HTTPClient
56
- x
57
- 10
58
- open_class
59
- x
60
- 14
61
- __class_init__
62
- M
63
- 1
64
- n
65
- n
66
- x
67
- 10
68
- HTTPClient
69
- i
70
- 29
71
- 5
72
- 66
73
- 99
74
- 7
75
- 0
76
- 1
77
- 65
78
- 49
79
- 1
80
- 3
81
- 13
82
- 99
83
- 12
84
- 7
85
- 2
86
- 12
87
- 7
88
- 3
89
- 12
90
- 65
91
- 12
92
- 49
93
- 4
94
- 4
95
- 15
96
- 49
97
- 2
98
- 0
99
- 11
100
- I
101
- 6
102
- I
103
- 0
104
- I
105
- 0
106
- I
107
- 0
108
- n
109
- p
110
- 5
111
- x
112
- 10
113
- Connection
114
- x
115
- 10
116
- open_class
117
- x
118
- 14
119
- __class_init__
120
- M
121
- 1
122
- n
123
- n
124
- x
125
- 10
126
- Connection
127
- i
128
- 80
129
- 5
130
- 66
131
- 5
132
- 7
133
- 0
134
- 47
135
- 49
136
- 1
137
- 1
138
- 15
139
- 99
140
- 7
141
- 2
142
- 7
143
- 3
144
- 65
145
- 67
146
- 49
147
- 4
148
- 0
149
- 49
150
- 5
151
- 4
152
- 15
153
- 99
154
- 7
155
- 6
156
- 7
157
- 7
158
- 65
159
- 67
160
- 49
161
- 4
162
- 0
163
- 49
164
- 5
165
- 4
166
- 15
167
- 99
168
- 7
169
- 8
170
- 7
171
- 9
172
- 65
173
- 67
174
- 49
175
- 4
176
- 0
177
- 49
178
- 5
179
- 4
180
- 15
181
- 99
182
- 7
183
- 10
184
- 7
185
- 11
186
- 65
187
- 67
188
- 49
189
- 4
190
- 0
191
- 49
192
- 5
193
- 4
194
- 15
195
- 99
196
- 7
197
- 12
198
- 7
199
- 13
200
- 65
201
- 67
202
- 49
203
- 4
204
- 0
205
- 49
206
- 5
207
- 4
208
- 11
209
- I
210
- 5
211
- I
212
- 0
213
- I
214
- 0
215
- I
216
- 0
217
- n
218
- p
219
- 14
220
- x
221
- 12
222
- async_thread
223
- x
224
- 13
225
- attr_accessor
226
- x
227
- 10
228
- initialize
229
- M
230
- 1
231
- n
232
- n
233
- x
234
- 10
235
- initialize
236
- i
237
- 59
238
- 23
239
- 0
240
- 10
241
- 9
242
- 35
243
- 0
244
- 19
245
- 0
246
- 15
247
- 23
248
- 1
249
- 10
250
- 18
251
- 35
252
- 0
253
- 19
254
- 1
255
- 15
256
- 20
257
- 0
258
- 38
259
- 0
260
- 15
261
- 20
262
- 1
263
- 38
264
- 1
265
- 15
266
- 1
267
- 38
268
- 2
269
- 15
270
- 45
271
- 3
272
- 4
273
- 13
274
- 71
275
- 5
276
- 47
277
- 9
278
- 53
279
- 47
280
- 49
281
- 6
282
- 0
283
- 13
284
- 47
285
- 49
286
- 7
287
- 0
288
- 15
289
- 8
290
- 56
291
- 49
292
- 5
293
- 0
294
- 38
295
- 8
296
- 11
297
- I
298
- 4
299
- I
300
- 2
301
- I
302
- 0
303
- I
304
- 2
305
- n
306
- p
307
- 9
308
- x
309
- 8
310
- @headers
311
- x
312
- 5
313
- @body
314
- x
315
- 13
316
- @async_thread
317
- x
318
- 5
319
- Queue
320
- n
321
- x
322
- 3
323
- new
324
- x
325
- 8
326
- allocate
327
- x
328
- 10
329
- initialize
330
- x
331
- 6
332
- @queue
333
- p
334
- 11
335
- I
336
- -1
337
- I
338
- 2a
339
- I
340
- 12
341
- I
342
- 2b
343
- I
344
- 17
345
- I
346
- 2c
347
- I
348
- 1c
349
- I
350
- 2d
351
- I
352
- 20
353
- I
354
- 2e
355
- I
356
- 3b
357
- x
358
- 54
359
- /home/nahi/git/httpclient/lib/httpclient/connection.rb
360
- p
361
- 2
362
- x
363
- 12
364
- header_queue
365
- x
366
- 10
367
- body_queue
368
- x
369
- 17
370
- method_visibility
371
- x
372
- 15
373
- add_defn_method
374
- x
375
- 9
376
- finished?
377
- M
378
- 1
379
- n
380
- n
381
- x
382
- 9
383
- finished?
384
- i
385
- 23
386
- 39
387
- 0
388
- 9
389
- 21
390
- 39
391
- 0
392
- 49
393
- 1
394
- 0
395
- 9
396
- 14
397
- 3
398
- 8
399
- 19
400
- 5
401
- 48
402
- 2
403
- 15
404
- 2
405
- 8
406
- 22
407
- 2
408
- 11
409
- I
410
- 1
411
- I
412
- 0
413
- I
414
- 0
415
- I
416
- 0
417
- n
418
- p
419
- 3
420
- x
421
- 13
422
- @async_thread
423
- x
424
- 6
425
- alive?
426
- x
427
- 4
428
- join
429
- p
430
- 15
431
- I
432
- -1
433
- I
434
- 32
435
- I
436
- 0
437
- I
438
- 33
439
- I
440
- 4
441
- I
442
- 36
443
- I
444
- b
445
- I
446
- 38
447
- I
448
- e
449
- I
450
- 3b
451
- I
452
- 12
453
- I
454
- 3c
455
- I
456
- 15
457
- I
458
- 35
459
- I
460
- 17
461
- x
462
- 54
463
- /home/nahi/git/httpclient/lib/httpclient/connection.rb
464
- p
465
- 0
466
- x
467
- 3
468
- pop
469
- M
470
- 1
471
- n
472
- n
473
- x
474
- 3
475
- pop
476
- i
477
- 32
478
- 39
479
- 0
480
- 49
481
- 1
482
- 0
483
- 19
484
- 0
485
- 15
486
- 20
487
- 0
488
- 45
489
- 2
490
- 3
491
- 49
492
- 4
493
- 1
494
- 9
495
- 27
496
- 5
497
- 20
498
- 0
499
- 47
500
- 49
501
- 5
502
- 1
503
- 8
504
- 28
505
- 1
506
- 15
507
- 20
508
- 0
509
- 11
510
- I
511
- 3
512
- I
513
- 1
514
- I
515
- 0
516
- I
517
- 0
518
- n
519
- p
520
- 6
521
- x
522
- 6
523
- @queue
524
- x
525
- 3
526
- pop
527
- x
528
- 9
529
- Exception
530
- n
531
- x
532
- 5
533
- is_a?
534
- x
535
- 5
536
- raise
537
- p
538
- 13
539
- I
540
- -1
541
- I
542
- 42
543
- I
544
- 0
545
- I
546
- 43
547
- I
548
- 8
549
- I
550
- 44
551
- I
552
- 12
553
- I
554
- 45
555
- I
556
- 1b
557
- I
558
- 44
559
- I
560
- 1d
561
- I
562
- 47
563
- I
564
- 20
565
- x
566
- 54
567
- /home/nahi/git/httpclient/lib/httpclient/connection.rb
568
- p
569
- 1
570
- x
571
- 21
572
- response_or_exception
573
- x
574
- 4
575
- push
576
- M
577
- 1
578
- n
579
- n
580
- x
581
- 4
582
- push
583
- i
584
- 8
585
- 39
586
- 0
587
- 20
588
- 0
589
- 49
590
- 1
591
- 1
592
- 11
593
- I
594
- 3
595
- I
596
- 1
597
- I
598
- 1
599
- I
600
- 1
601
- n
602
- p
603
- 2
604
- x
605
- 6
606
- @queue
607
- x
608
- 4
609
- push
610
- p
611
- 5
612
- I
613
- -1
614
- I
615
- 4a
616
- I
617
- 0
618
- I
619
- 4b
620
- I
621
- 8
622
- x
623
- 54
624
- /home/nahi/git/httpclient/lib/httpclient/connection.rb
625
- p
626
- 1
627
- x
628
- 6
629
- result
630
- x
631
- 4
632
- join
633
- M
634
- 1
635
- n
636
- n
637
- x
638
- 4
639
- join
640
- i
641
- 15
642
- 39
643
- 0
644
- 9
645
- 11
646
- 39
647
- 0
648
- 49
649
- 1
650
- 0
651
- 8
652
- 12
653
- 1
654
- 15
655
- 1
656
- 11
657
- I
658
- 1
659
- I
660
- 0
661
- I
662
- 0
663
- I
664
- 0
665
- n
666
- p
667
- 2
668
- x
669
- 13
670
- @async_thread
671
- x
672
- 4
673
- join
674
- p
675
- 11
676
- I
677
- -1
678
- I
679
- 4f
680
- I
681
- 0
682
- I
683
- 50
684
- I
685
- 4
686
- I
687
- 51
688
- I
689
- b
690
- I
691
- 50
692
- I
693
- d
694
- I
695
- 53
696
- I
697
- f
698
- x
699
- 54
700
- /home/nahi/git/httpclient/lib/httpclient/connection.rb
701
- p
702
- 0
703
- p
704
- 13
705
- I
706
- 2
707
- I
708
- 28
709
- I
710
- a
711
- I
712
- 2a
713
- I
714
- 18
715
- I
716
- 32
717
- I
718
- 26
719
- I
720
- 42
721
- I
722
- 34
723
- I
724
- 4a
725
- I
726
- 42
727
- I
728
- 4f
729
- I
730
- 50
731
- x
732
- 54
733
- /home/nahi/git/httpclient/lib/httpclient/connection.rb
734
- p
735
- 0
736
- x
737
- 13
738
- attach_method
739
- p
740
- 3
741
- I
742
- 2
743
- I
744
- 27
745
- I
746
- 1d
747
- x
748
- 54
749
- /home/nahi/git/httpclient/lib/httpclient/connection.rb
750
- p
751
- 0
752
- x
753
- 13
754
- attach_method
755
- p
756
- 3
757
- I
758
- 0
759
- I
760
- 9
761
- I
762
- 1d
763
- x
764
- 54
765
- /home/nahi/git/httpclient/lib/httpclient/connection.rb
766
- p
767
- 0