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