httpclient 2.2.0.2 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,1278 +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
- 78
13
- 5
14
- 7
15
- 0
16
- 64
17
- 47
18
- 49
19
- 1
20
- 1
21
- 15
22
- 7
23
- 2
24
- 64
25
- 7
26
- 3
27
- 49
28
- 4
29
- 1
30
- 9
31
- 22
32
- 1
33
- 8
34
- 48
35
- 99
36
- 7
37
- 5
38
- 1
39
- 65
40
- 49
41
- 6
42
- 3
43
- 13
44
- 99
45
- 12
46
- 7
47
- 7
48
- 12
49
- 7
50
- 8
51
- 12
52
- 65
53
- 12
54
- 49
55
- 9
56
- 4
57
- 15
58
- 49
59
- 7
60
- 0
61
- 15
62
- 99
63
- 7
64
- 10
65
- 1
66
- 65
67
- 49
68
- 6
69
- 3
70
- 13
71
- 99
72
- 12
73
- 7
74
- 7
75
- 12
76
- 7
77
- 11
78
- 12
79
- 65
80
- 12
81
- 49
82
- 9
83
- 4
84
- 15
85
- 49
86
- 7
87
- 0
88
- 15
89
- 2
90
- 11
91
- I
92
- 6
93
- I
94
- 0
95
- I
96
- 0
97
- I
98
- 0
99
- n
100
- p
101
- 12
102
- s
103
- 3
104
- uri
105
- x
106
- 7
107
- require
108
- s
109
- 0
110
-
111
- x
112
- 8
113
- bytesize
114
- x
115
- 11
116
- respond_to?
117
- x
118
- 6
119
- String
120
- x
121
- 10
122
- open_class
123
- x
124
- 14
125
- __class_init__
126
- M
127
- 1
128
- n
129
- n
130
- x
131
- 6
132
- String
133
- i
134
- 12
135
- 5
136
- 66
137
- 65
138
- 7
139
- 0
140
- 7
141
- 1
142
- 47
143
- 49
144
- 2
145
- 2
146
- 11
147
- I
148
- 3
149
- I
150
- 0
151
- I
152
- 0
153
- I
154
- 0
155
- n
156
- p
157
- 3
158
- x
159
- 8
160
- bytesize
161
- x
162
- 4
163
- size
164
- x
165
- 12
166
- alias_method
167
- p
168
- 3
169
- I
170
- 2
171
- I
172
- e
173
- I
174
- c
175
- x
176
- 48
177
- /home/nahi/git/httpclient/lib/httpclient/util.rb
178
- p
179
- 0
180
- x
181
- 13
182
- attach_method
183
- x
184
- 10
185
- HTTPClient
186
- M
187
- 1
188
- n
189
- n
190
- x
191
- 10
192
- HTTPClient
193
- i
194
- 28
195
- 5
196
- 66
197
- 99
198
- 7
199
- 0
200
- 65
201
- 49
202
- 1
203
- 2
204
- 13
205
- 99
206
- 12
207
- 7
208
- 2
209
- 12
210
- 7
211
- 3
212
- 12
213
- 65
214
- 12
215
- 49
216
- 4
217
- 4
218
- 15
219
- 49
220
- 2
221
- 0
222
- 11
223
- I
224
- 6
225
- I
226
- 0
227
- I
228
- 0
229
- I
230
- 0
231
- n
232
- p
233
- 5
234
- x
235
- 4
236
- Util
237
- x
238
- 11
239
- open_module
240
- x
241
- 15
242
- __module_init__
243
- M
244
- 1
245
- n
246
- n
247
- x
248
- 4
249
- Util
250
- i
251
- 124
252
- 5
253
- 66
254
- 99
255
- 7
256
- 0
257
- 7
258
- 1
259
- 65
260
- 67
261
- 49
262
- 2
263
- 0
264
- 49
265
- 3
266
- 4
267
- 15
268
- 99
269
- 7
270
- 4
271
- 7
272
- 5
273
- 65
274
- 67
275
- 49
276
- 2
277
- 0
278
- 49
279
- 3
280
- 4
281
- 15
282
- 99
283
- 7
284
- 6
285
- 7
286
- 7
287
- 65
288
- 67
289
- 49
290
- 2
291
- 0
292
- 49
293
- 3
294
- 4
295
- 15
296
- 5
297
- 7
298
- 6
299
- 47
300
- 49
301
- 8
302
- 1
303
- 15
304
- 99
305
- 7
306
- 9
307
- 7
308
- 10
309
- 65
310
- 67
311
- 49
312
- 2
313
- 0
314
- 49
315
- 3
316
- 4
317
- 15
318
- 5
319
- 7
320
- 9
321
- 47
322
- 49
323
- 8
324
- 1
325
- 15
326
- 99
327
- 7
328
- 11
329
- 7
330
- 12
331
- 65
332
- 67
333
- 49
334
- 2
335
- 0
336
- 49
337
- 3
338
- 4
339
- 15
340
- 5
341
- 7
342
- 11
343
- 47
344
- 49
345
- 8
346
- 1
347
- 15
348
- 99
349
- 7
350
- 13
351
- 7
352
- 14
353
- 65
354
- 67
355
- 49
356
- 2
357
- 0
358
- 49
359
- 3
360
- 4
361
- 15
362
- 99
363
- 7
364
- 15
365
- 7
366
- 16
367
- 65
368
- 67
369
- 49
370
- 2
371
- 0
372
- 49
373
- 3
374
- 4
375
- 11
376
- I
377
- 5
378
- I
379
- 0
380
- I
381
- 0
382
- I
383
- 0
384
- n
385
- p
386
- 17
387
- x
388
- 16
389
- keyword_argument
390
- M
391
- 1
392
- n
393
- n
394
- x
395
- 16
396
- keyword_argument
397
- i
398
- 44
399
- 20
400
- 0
401
- 49
402
- 0
403
- 0
404
- 79
405
- 83
406
- 1
407
- 13
408
- 9
409
- 24
410
- 15
411
- 20
412
- 0
413
- 78
414
- 49
415
- 2
416
- 1
417
- 45
418
- 3
419
- 4
420
- 49
421
- 5
422
- 1
423
- 9
424
- 41
425
- 20
426
- 0
427
- 78
428
- 49
429
- 2
430
- 1
431
- 20
432
- 1
433
- 36
434
- 1
435
- 51
436
- 6
437
- 0
438
- 8
439
- 43
440
- 20
441
- 0
442
- 11
443
- I
444
- 5
445
- I
446
- 2
447
- I
448
- 1
449
- I
450
- 1
451
- I
452
- 1
453
- p
454
- 7
455
- x
456
- 4
457
- size
458
- x
459
- 2
460
- ==
461
- x
462
- 2
463
- []
464
- x
465
- 4
466
- Hash
467
- n
468
- x
469
- 5
470
- is_a?
471
- x
472
- 9
473
- values_at
474
- p
475
- 9
476
- I
477
- -1
478
- I
479
- 2c
480
- I
481
- 0
482
- I
483
- 2d
484
- I
485
- 1a
486
- I
487
- 2e
488
- I
489
- 29
490
- I
491
- 30
492
- I
493
- 2c
494
- x
495
- 48
496
- /home/nahi/git/httpclient/lib/httpclient/util.rb
497
- p
498
- 2
499
- x
500
- 4
501
- args
502
- x
503
- 5
504
- field
505
- x
506
- 17
507
- method_visibility
508
- x
509
- 15
510
- add_defn_method
511
- x
512
- 5
513
- urify
514
- M
515
- 1
516
- n
517
- n
518
- x
519
- 5
520
- urify
521
- i
522
- 36
523
- 20
524
- 0
525
- 49
526
- 0
527
- 0
528
- 9
529
- 10
530
- 1
531
- 8
532
- 35
533
- 20
534
- 0
535
- 45
536
- 1
537
- 2
538
- 49
539
- 3
540
- 1
541
- 9
542
- 24
543
- 20
544
- 0
545
- 8
546
- 35
547
- 45
548
- 1
549
- 4
550
- 20
551
- 0
552
- 49
553
- 5
554
- 0
555
- 49
556
- 6
557
- 1
558
- 11
559
- I
560
- 3
561
- I
562
- 1
563
- I
564
- 1
565
- I
566
- 1
567
- n
568
- p
569
- 7
570
- x
571
- 4
572
- nil?
573
- x
574
- 3
575
- URI
576
- n
577
- x
578
- 5
579
- is_a?
580
- n
581
- x
582
- 4
583
- to_s
584
- x
585
- 5
586
- parse
587
- p
588
- 13
589
- I
590
- -1
591
- I
592
- 35
593
- I
594
- 0
595
- I
596
- 36
597
- I
598
- 7
599
- I
600
- 37
601
- I
602
- a
603
- I
604
- 38
605
- I
606
- 14
607
- I
608
- 39
609
- I
610
- 18
611
- I
612
- 3b
613
- I
614
- 24
615
- x
616
- 48
617
- /home/nahi/git/httpclient/lib/httpclient/util.rb
618
- p
619
- 1
620
- x
621
- 3
622
- uri
623
- x
624
- 11
625
- uri_part_of
626
- M
627
- 1
628
- n
629
- n
630
- x
631
- 11
632
- uri_part_of
633
- i
634
- 71
635
- 20
636
- 0
637
- 49
638
- 0
639
- 0
640
- 20
641
- 1
642
- 49
643
- 0
644
- 0
645
- 83
646
- 1
647
- 13
648
- 9
649
- 70
650
- 15
651
- 20
652
- 0
653
- 49
654
- 2
655
- 0
656
- 20
657
- 1
658
- 49
659
- 2
660
- 0
661
- 83
662
- 1
663
- 13
664
- 9
665
- 70
666
- 15
667
- 20
668
- 0
669
- 49
670
- 3
671
- 0
672
- 20
673
- 1
674
- 49
675
- 3
676
- 0
677
- 83
678
- 1
679
- 13
680
- 9
681
- 70
682
- 15
683
- 20
684
- 0
685
- 49
686
- 4
687
- 0
688
- 49
689
- 5
690
- 0
691
- 20
692
- 1
693
- 49
694
- 4
695
- 0
696
- 49
697
- 5
698
- 0
699
- 49
700
- 6
701
- 1
702
- 78
703
- 83
704
- 1
705
- 11
706
- I
707
- 4
708
- I
709
- 2
710
- I
711
- 2
712
- I
713
- 2
714
- n
715
- p
716
- 7
717
- x
718
- 6
719
- scheme
720
- x
721
- 2
722
- ==
723
- x
724
- 4
725
- host
726
- x
727
- 4
728
- port
729
- x
730
- 4
731
- path
732
- x
733
- 6
734
- upcase
735
- x
736
- 5
737
- index
738
- p
739
- 11
740
- I
741
- -1
742
- I
743
- 44
744
- I
745
- 0
746
- I
747
- 45
748
- I
749
- 10
750
- I
751
- 46
752
- I
753
- 20
754
- I
755
- 47
756
- I
757
- 30
758
- I
759
- 48
760
- I
761
- 47
762
- x
763
- 48
764
- /home/nahi/git/httpclient/lib/httpclient/util.rb
765
- p
766
- 2
767
- x
768
- 3
769
- uri
770
- x
771
- 4
772
- part
773
- x
774
- 15
775
- module_function
776
- x
777
- 11
778
- uri_dirname
779
- M
780
- 1
781
- n
782
- n
783
- x
784
- 11
785
- uri_dirname
786
- i
787
- 50
788
- 20
789
- 0
790
- 49
791
- 0
792
- 0
793
- 19
794
- 0
795
- 15
796
- 20
797
- 0
798
- 20
799
- 0
800
- 49
801
- 1
802
- 0
803
- 7
804
- 2
805
- 13
806
- 70
807
- 9
808
- 33
809
- 15
810
- 44
811
- 43
812
- 3
813
- 7
814
- 4
815
- 78
816
- 49
817
- 5
818
- 2
819
- 6
820
- 2
821
- 7
822
- 6
823
- 64
824
- 49
825
- 7
826
- 2
827
- 13
828
- 18
829
- 2
830
- 49
831
- 8
832
- 1
833
- 15
834
- 15
835
- 20
836
- 0
837
- 11
838
- I
839
- 6
840
- I
841
- 1
842
- I
843
- 1
844
- I
845
- 1
846
- n
847
- p
848
- 9
849
- x
850
- 5
851
- clone
852
- x
853
- 4
854
- path
855
- n
856
- x
857
- 6
858
- Regexp
859
- s
860
- 10
861
- \/[^\/]*\z
862
- x
863
- 3
864
- new
865
- s
866
- 1
867
- /
868
- x
869
- 3
870
- sub
871
- x
872
- 5
873
- path=
874
- p
875
- 9
876
- I
877
- -1
878
- I
879
- 4d
880
- I
881
- 0
882
- I
883
- 4e
884
- I
885
- 8
886
- I
887
- 4f
888
- I
889
- 2f
890
- I
891
- 50
892
- I
893
- 32
894
- x
895
- 48
896
- /home/nahi/git/httpclient/lib/httpclient/util.rb
897
- p
898
- 1
899
- x
900
- 3
901
- uri
902
- x
903
- 15
904
- hash_find_value
905
- M
906
- 1
907
- n
908
- n
909
- x
910
- 15
911
- hash_find_value
912
- i
913
- 39
914
- 95
915
- 19
916
- 1
917
- 15
918
- 20
919
- 0
920
- 20
921
- 1
922
- 13
923
- 70
924
- 10
925
- 19
926
- 44
927
- 43
928
- 0
929
- 12
930
- 49
931
- 1
932
- 1
933
- 50
934
- 2
935
- 0
936
- 19
937
- 2
938
- 15
939
- 20
940
- 2
941
- 9
942
- 37
943
- 20
944
- 2
945
- 79
946
- 49
947
- 3
948
- 1
949
- 8
950
- 38
951
- 1
952
- 11
953
- I
954
- 6
955
- I
956
- 3
957
- I
958
- 1
959
- I
960
- 1
961
- n
962
- p
963
- 4
964
- x
965
- 4
966
- Proc
967
- x
968
- 14
969
- __from_block__
970
- x
971
- 4
972
- find
973
- x
974
- 2
975
- []
976
- p
977
- 7
978
- I
979
- -1
980
- I
981
- 55
982
- I
983
- 4
984
- I
985
- 56
986
- I
987
- 19
988
- I
989
- 57
990
- I
991
- 27
992
- x
993
- 48
994
- /home/nahi/git/httpclient/lib/httpclient/util.rb
995
- p
996
- 3
997
- x
998
- 4
999
- hash
1000
- x
1001
- 5
1002
- block
1003
- x
1004
- 1
1005
- v
1006
- x
1007
- 6
1008
- https?
1009
- M
1010
- 1
1011
- n
1012
- n
1013
- x
1014
- 6
1015
- https?
1016
- i
1017
- 14
1018
- 20
1019
- 0
1020
- 49
1021
- 0
1022
- 0
1023
- 49
1024
- 1
1025
- 0
1026
- 7
1027
- 2
1028
- 64
1029
- 83
1030
- 3
1031
- 11
1032
- I
1033
- 3
1034
- I
1035
- 1
1036
- I
1037
- 1
1038
- I
1039
- 1
1040
- n
1041
- p
1042
- 4
1043
- x
1044
- 6
1045
- scheme
1046
- x
1047
- 8
1048
- downcase
1049
- s
1050
- 5
1051
- https
1052
- x
1053
- 2
1054
- ==
1055
- p
1056
- 5
1057
- I
1058
- -1
1059
- I
1060
- 5c
1061
- I
1062
- 0
1063
- I
1064
- 5d
1065
- I
1066
- e
1067
- x
1068
- 48
1069
- /home/nahi/git/httpclient/lib/httpclient/util.rb
1070
- p
1071
- 1
1072
- x
1073
- 3
1074
- uri
1075
- x
1076
- 12
1077
- force_binary
1078
- M
1079
- 1
1080
- n
1081
- n
1082
- x
1083
- 12
1084
- force_binary
1085
- i
1086
- 50
1087
- 26
1088
- 93
1089
- 0
1090
- 15
1091
- 29
1092
- 19
1093
- 0
1094
- 45
1095
- 0
1096
- 1
1097
- 7
1098
- 2
1099
- 3
1100
- 98
1101
- 3
1102
- 3
1103
- 30
1104
- 8
1105
- 25
1106
- 25
1107
- 92
1108
- 0
1109
- 27
1110
- 8
1111
- 30
1112
- 15
1113
- 7
1114
- 4
1115
- 8
1116
- 31
1117
- 1
1118
- 9
1119
- 45
1120
- 20
1121
- 0
1122
- 45
1123
- 0
1124
- 5
1125
- 43
1126
- 2
1127
- 49
1128
- 6
1129
- 1
1130
- 8
1131
- 46
1132
- 1
1133
- 15
1134
- 20
1135
- 0
1136
- 11
1137
- I
1138
- 5
1139
- I
1140
- 1
1141
- I
1142
- 1
1143
- I
1144
- 1
1145
- n
1146
- p
1147
- 7
1148
- x
1149
- 8
1150
- Encoding
1151
- n
1152
- x
1153
- 10
1154
- ASCII_8BIT
1155
- x
1156
- 22
1157
- vm_const_defined_under
1158
- s
1159
- 8
1160
- constant
1161
- n
1162
- x
1163
- 14
1164
- force_encoding
1165
- p
1166
- 7
1167
- I
1168
- -1
1169
- I
1170
- 60
1171
- I
1172
- 0
1173
- I
1174
- 61
1175
- I
1176
- 2f
1177
- I
1178
- 62
1179
- I
1180
- 32
1181
- x
1182
- 48
1183
- /home/nahi/git/httpclient/lib/httpclient/util.rb
1184
- p
1185
- 1
1186
- x
1187
- 3
1188
- str
1189
- p
1190
- 21
1191
- I
1192
- 2
1193
- I
1194
- 2c
1195
- I
1196
- 10
1197
- I
1198
- 35
1199
- I
1200
- 1e
1201
- I
1202
- 44
1203
- I
1204
- 2c
1205
- I
1206
- 4a
1207
- I
1208
- 34
1209
- I
1210
- 4d
1211
- I
1212
- 42
1213
- I
1214
- 52
1215
- I
1216
- 4a
1217
- I
1218
- 55
1219
- I
1220
- 58
1221
- I
1222
- 59
1223
- I
1224
- 60
1225
- I
1226
- 5c
1227
- I
1228
- 6e
1229
- I
1230
- 60
1231
- I
1232
- 7c
1233
- x
1234
- 48
1235
- /home/nahi/git/httpclient/lib/httpclient/util.rb
1236
- p
1237
- 0
1238
- x
1239
- 13
1240
- attach_method
1241
- p
1242
- 3
1243
- I
1244
- 2
1245
- I
1246
- 17
1247
- I
1248
- 1c
1249
- x
1250
- 48
1251
- /home/nahi/git/httpclient/lib/httpclient/util.rb
1252
- p
1253
- 0
1254
- p
1255
- 9
1256
- I
1257
- 0
1258
- I
1259
- 9
1260
- I
1261
- 9
1262
- I
1263
- c
1264
- I
1265
- 16
1266
- I
1267
- d
1268
- I
1269
- 31
1270
- I
1271
- 13
1272
- I
1273
- 4e
1274
- x
1275
- 48
1276
- /home/nahi/git/httpclient/lib/httpclient/util.rb
1277
- p
1278
- 0