@@ -188,6 +188,7 @@ private void OnGetEnvironmentsResponse(RESTConnector.Request req, RESTConnector.
188
188
GetEnvironmentsResponse result = new GetEnvironmentsResponse ( ) ;
189
189
fsData data = null ;
190
190
Dictionary < string , object > customData = ( ( GetEnvironmentsRequest ) req ) . CustomData ;
191
+ customData . Add ( Constants . String . RESPONSE_HEADERS , resp . Headers ) ;
191
192
192
193
if ( resp . Success )
193
194
{
@@ -313,6 +314,7 @@ private void OnAddEnvironmentResponse(RESTConnector.Request req, RESTConnector.R
313
314
Environment result = new Environment ( ) ;
314
315
fsData data = null ;
315
316
Dictionary < string , object > customData = ( ( AddEnvironmentRequest ) req ) . CustomData ;
317
+ customData . Add ( Constants . String . RESPONSE_HEADERS , resp . Headers ) ;
316
318
317
319
if ( resp . Success )
318
320
{
@@ -409,6 +411,7 @@ private void OnGetEnvironmentResponse(RESTConnector.Request req, RESTConnector.R
409
411
Environment result = new Environment ( ) ;
410
412
fsData data = null ;
411
413
Dictionary < string , object > customData = ( ( GetEnvironmentRequest ) req ) . CustomData ;
414
+ customData . Add ( Constants . String . RESPONSE_HEADERS , resp . Headers ) ;
412
415
413
416
if ( resp . Success )
414
417
{
@@ -506,6 +509,7 @@ private void OnDeleteEnvironmentResponse(RESTConnector.Request req, RESTConnecto
506
509
DeleteEnvironmentResponse result = new DeleteEnvironmentResponse ( ) ;
507
510
fsData data = null ;
508
511
Dictionary < string , object > customData = ( ( DeleteEnvironmentRequest ) req ) . CustomData ;
512
+ customData . Add ( Constants . String . RESPONSE_HEADERS , resp . Headers ) ;
509
513
510
514
if ( resp . Success )
511
515
{
@@ -607,6 +611,7 @@ private void OnGetConfigurationsResponse(RESTConnector.Request req, RESTConnecto
607
611
GetConfigurationsResponse result = new GetConfigurationsResponse ( ) ;
608
612
fsData data = null ;
609
613
Dictionary < string , object > customData = ( ( GetConfigurationsRequest ) req ) . CustomData ;
614
+ customData . Add ( Constants . String . RESPONSE_HEADERS , resp . Headers ) ;
610
615
611
616
if ( resp . Success )
612
617
{
@@ -743,6 +748,7 @@ private void OnAddConfigurationResponse(RESTConnector.Request req, RESTConnector
743
748
Configuration result = new Configuration ( ) ;
744
749
fsData data = null ;
745
750
Dictionary < string , object > customData = ( ( AddConfigurationRequest ) req ) . CustomData ;
751
+ customData . Add ( Constants . String . RESPONSE_HEADERS , resp . Headers ) ;
746
752
747
753
if ( resp . Success )
748
754
{
@@ -842,6 +848,7 @@ private void OnGetConfigurationResponse(RESTConnector.Request req, RESTConnector
842
848
Configuration result = new Configuration ( ) ;
843
849
fsData data = null ;
844
850
Dictionary < string , object > customData = ( ( GetConfigurationRequest ) req ) . CustomData ;
851
+ customData . Add ( Constants . String . RESPONSE_HEADERS , resp . Headers ) ;
845
852
846
853
if ( resp . Success )
847
854
{
@@ -942,6 +949,7 @@ private void OnDeleteConfigurationResponse(RESTConnector.Request req, RESTConnec
942
949
DeleteConfigurationResponse result = new DeleteConfigurationResponse ( ) ;
943
950
fsData data = null ;
944
951
Dictionary < string , object > customData = ( ( DeleteConfigurationRequest ) req ) . CustomData ;
952
+ customData . Add ( Constants . String . RESPONSE_HEADERS , resp . Headers ) ;
945
953
946
954
if ( resp . Success )
947
955
{
@@ -1133,6 +1141,7 @@ private void OnPreviewConfigurationResponse(RESTConnector.Request req, RESTConne
1133
1141
TestDocument result = new TestDocument ( ) ;
1134
1142
fsData data = null ;
1135
1143
Dictionary < string , object > customData = ( ( PreviewConfigurationRequest ) req ) . CustomData ;
1144
+ customData . Add ( Constants . String . RESPONSE_HEADERS , resp . Headers ) ;
1136
1145
1137
1146
if ( resp . Success )
1138
1147
{
@@ -1235,6 +1244,7 @@ private void OnGetCollectionsResponse(RESTConnector.Request req, RESTConnector.R
1235
1244
GetCollectionsResponse result = new GetCollectionsResponse ( ) ;
1236
1245
fsData data = null ;
1237
1246
Dictionary < string , object > customData = ( ( GetCollectionsRequest ) req ) . CustomData ;
1247
+ customData . Add ( Constants . String . RESPONSE_HEADERS , resp . Headers ) ;
1238
1248
1239
1249
if ( resp . Success )
1240
1250
{
@@ -1367,6 +1377,7 @@ private void OnAddCollectionResponse(RESTConnector.Request req, RESTConnector.Re
1367
1377
CollectionRef result = new CollectionRef ( ) ;
1368
1378
fsData data = null ;
1369
1379
Dictionary < string , object > customData = ( ( AddCollectionRequest ) req ) . CustomData ;
1380
+ customData . Add ( Constants . String . RESPONSE_HEADERS , resp . Headers ) ;
1370
1381
1371
1382
if ( resp . Success )
1372
1383
{
@@ -1466,6 +1477,7 @@ private void OnGetCollectionResponse(RESTConnector.Request req, RESTConnector.Re
1466
1477
Collection result = new Collection ( ) ;
1467
1478
fsData data = null ;
1468
1479
Dictionary < string , object > customData = ( ( GetCollectionRequest ) req ) . CustomData ;
1480
+ customData . Add ( Constants . String . RESPONSE_HEADERS , resp . Headers ) ;
1469
1481
1470
1482
if ( resp . Success )
1471
1483
{
@@ -1566,6 +1578,7 @@ private void OnDeleteCollectionResponse(RESTConnector.Request req, RESTConnector
1566
1578
DeleteCollectionResponse result = new DeleteCollectionResponse ( ) ;
1567
1579
fsData data = null ;
1568
1580
Dictionary < string , object > customData = ( ( DeleteCollectionRequest ) req ) . CustomData ;
1581
+ customData . Add ( Constants . String . RESPONSE_HEADERS , resp . Headers ) ;
1569
1582
1570
1583
if ( resp . Success )
1571
1584
{
@@ -1665,6 +1678,7 @@ private void OnGetFieldsResponse(RESTConnector.Request req, RESTConnector.Respon
1665
1678
GetFieldsResponse result = new GetFieldsResponse ( ) ;
1666
1679
fsData data = null ;
1667
1680
Dictionary < string , object > customData = ( ( GetFieldsRequest ) req ) . CustomData ;
1681
+ customData . Add ( Constants . String . RESPONSE_HEADERS , resp . Headers ) ;
1668
1682
1669
1683
if ( resp . Success )
1670
1684
{
@@ -1949,6 +1963,7 @@ private void OnAddDocumentResponse(RESTConnector.Request req, RESTConnector.Resp
1949
1963
DocumentAccepted result = new DocumentAccepted ( ) ;
1950
1964
fsData data = null ;
1951
1965
Dictionary < string , object > customData = ( ( AddDocumentRequest ) req ) . CustomData ;
1966
+ customData . Add ( Constants . String . RESPONSE_HEADERS , resp . Headers ) ;
1952
1967
1953
1968
if ( resp . Success )
1954
1969
{
@@ -2052,6 +2067,7 @@ private void OnDeleteDocumentResponse(RESTConnector.Request req, RESTConnector.R
2052
2067
DeleteDocumentResponse result = new DeleteDocumentResponse ( ) ;
2053
2068
fsData data = null ;
2054
2069
Dictionary < string , object > customData = ( ( DeleteDocumentRequest ) req ) . CustomData ;
2070
+ customData . Add ( Constants . String . RESPONSE_HEADERS , resp . Headers ) ;
2055
2071
2056
2072
if ( resp . Success )
2057
2073
{
@@ -2154,6 +2170,7 @@ private void OnGetDocumentResponse(RESTConnector.Request req, RESTConnector.Resp
2154
2170
DocumentStatus result = new DocumentStatus ( ) ;
2155
2171
fsData data = null ;
2156
2172
Dictionary < string , object > customData = ( ( GetDocumentRequest ) req ) . CustomData ;
2173
+ customData . Add ( Constants . String . RESPONSE_HEADERS , resp . Headers ) ;
2157
2174
2158
2175
if ( resp . Success )
2159
2176
{
@@ -2432,6 +2449,7 @@ private void OnUpdateDocumentResponse(RESTConnector.Request req, RESTConnector.R
2432
2449
DocumentAccepted result = new DocumentAccepted ( ) ;
2433
2450
fsData data = null ;
2434
2451
Dictionary < string , object > customData = ( ( UpdateDocumentRequest ) req ) . CustomData ;
2452
+ customData . Add ( Constants . String . RESPONSE_HEADERS , resp . Headers ) ;
2435
2453
2436
2454
if ( resp . Success )
2437
2455
{
@@ -2561,6 +2579,7 @@ private void OnQueryResponse(RESTConnector.Request req, RESTConnector.Response r
2561
2579
QueryResponse result = new QueryResponse ( ) ;
2562
2580
fsData data = null ;
2563
2581
Dictionary < string , object > customData = ( ( QueryRequest ) req ) . CustomData ;
2582
+ customData . Add ( Constants . String . RESPONSE_HEADERS , resp . Headers ) ;
2564
2583
2565
2584
if ( resp . Success )
2566
2585
{
0 commit comments