Skip to content

Commit

Permalink
✅ Remove linebreaks in cached responses (#1220)
Browse files Browse the repository at this point in the history
Remove linebreaks in cached responses
  • Loading branch information
jbelien authored Mar 2, 2024
1 parent 2d749c5 commit 2d4d1f3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
s:3974:"{"authenticationResultCode":"ValidCredentials","brandLogoUri":"http:\/\/dev.virtualearth.net\/Branding\/logo_powered_by.png","copyright":"Copyright © 2016 Microsoft and its suppliers. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from Microsoft Corporation.","resourceSets":[{"estimatedTotal":5,"resources":[{"__type":"Location:http:\/\/schemas.microsoft.com\/search\/local\/ws\/rest\/v1","bbox":[44.775325775146484,8.2711343765258789,44.795879364013672,8.2963142395019531],"name":"Castelnuovo Calcea, Piem., Italie","point":{"type":"Point","coordinates":[44.786701202392578,8.28419017791748]},"address":{"adminDistrict":"Piem.","adminDistrict2":"AT","countryRegion":"Italie","formattedAddress":"Castelnuovo Calcea, Piem., Italie","locality":"Castelnuovo Calcea","countryRegionIso2":"IT"},"confidence":"High","entityType":"PopulatedPlace","geocodePoints":[{"type":"Point","coordinates":[44.786701202392578,8.28419017791748],"calculationMethod":"Rooftop","usageTypes":["Display"]}],"matchCodes":["Good"]},{"__type":"Location:http:\/\/schemas.microsoft.com\/search\/local\/ws\/rest\/v1","bbox":[46.02923583984375,11.473880767822266,46.073772430419922,11.519126892089844],"name":"Castelnuovo, Tr.A.A., Italie","point":{"type":"Point","coordinates":[46.051799774169922,11.497699737548828]},"address":{"adminDistrict":"Tr.A.A.","adminDistrict2":"TN","countryRegion":"Italie","formattedAddress":"Castelnuovo, Tr.A.A., Italie","locality":"Castelnuovo","countryRegionIso2":"IT"},"confidence":"High","entityType":"PopulatedPlace","geocodePoints":[{"type":"Point","coordinates":[46.051799774169922,11.497699737548828],"calculationMethod":"Rooftop","usageTypes":["Display"]}],"matchCodes":["Good"]},{"__type":"Location:http:\/\/schemas.microsoft.com\/search\/local\/ws\/rest\/v1","bbox":[44.958910323794555,9.387852082690733,45.016851089779664,9.4970279832272357],"name":"Castelnuovo, Em.Rom., Italie","point":{"type":"Point","coordinates":[44.987880706787109,9.4424400329589844]},"address":{"adminDistrict":"Em.Rom.","adminDistrict2":"PC","countryRegion":"Italie","formattedAddress":"Castelnuovo, Em.Rom., Italie","locality":"Castelnuovo","countryRegionIso2":"IT"},"confidence":"High","entityType":"Neighborhood","geocodePoints":[{"type":"Point","coordinates":[44.987880706787109,9.4424400329589844],"calculationMethod":"Rooftop","usageTypes":["Display"]}],"matchCodes":["Good"]},{"__type":"Location:http:\/\/schemas.microsoft.com\/search\/local\/ws\/rest\/v1","bbox":[43.797411300357055,11.014744487392822,43.855352066342164,11.121775898349366],"name":"Castelnuovo, Tosc., Italie","point":{"type":"Point","coordinates":[43.826381683349609,11.068260192871094]},"address":{"adminDistrict":"Tosc.","adminDistrict2":"PO","countryRegion":"Italie","formattedAddress":"Castelnuovo, Tosc., Italie","locality":"Castelnuovo","countryRegionIso2":"IT"},"confidence":"High","entityType":"Neighborhood","geocodePoints":[{"type":"Point","coordinates":[43.826381683349609,11.068260192871094],"calculationMethod":"Rooftop","usageTypes":["Display"]}],"matchCodes":["Good"]},{"__type":"Location:http:\/\/schemas.microsoft.com\/search\/local\/ws\/rest\/v1","bbox":[42.266840316470336,13.574242599134211,42.324781082455445,13.678637497301336],"name":"Castelnuovo, Abr., Italie","point":{"type":"Point","coordinates":[42.295810699462891,13.626440048217773]},"address":{"adminDistrict":"Abr.","adminDistrict2":"AQ","countryRegion":"Italie","formattedAddress":"Castelnuovo, Abr., Italie","locality":"Castelnuovo","countryRegionIso2":"IT"},"confidence":"High","entityType":"Neighborhood","geocodePoints":[{"type":"Point","coordinates":[42.295810699462891,13.626440048217773],"calculationMethod":"Rooftop","usageTypes":["Display"]}],"matchCodes":["Good"]}]}],"statusCode":200,"statusDescription":"OK","traceId":"76284b20f4bd448fb7093cb1363cf3f8|BN20280152|7.7.0.0|BN2SCH010000944"}";
s:3974:"{"authenticationResultCode":"ValidCredentials","brandLogoUri":"http:\/\/dev.virtualearth.net\/Branding\/logo_powered_by.png","copyright":"Copyright © 2016 Microsoft and its suppliers. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from Microsoft Corporation.","resourceSets":[{"estimatedTotal":5,"resources":[{"__type":"Location:http:\/\/schemas.microsoft.com\/search\/local\/ws\/rest\/v1","bbox":[44.775325775146484,8.2711343765258789,44.795879364013672,8.2963142395019531],"name":"Castelnuovo Calcea, Piem., Italie","point":{"type":"Point","coordinates":[44.786701202392578,8.28419017791748]},"address":{"adminDistrict":"Piem.","adminDistrict2":"AT","countryRegion":"Italie","formattedAddress":"Castelnuovo Calcea, Piem., Italie","locality":"Castelnuovo Calcea","countryRegionIso2":"IT"},"confidence":"High","entityType":"PopulatedPlace","geocodePoints":[{"type":"Point","coordinates":[44.786701202392578,8.28419017791748],"calculationMethod":"Rooftop","usageTypes":["Display"]}],"matchCodes":["Good"]},{"__type":"Location:http:\/\/schemas.microsoft.com\/search\/local\/ws\/rest\/v1","bbox":[46.02923583984375,11.473880767822266,46.073772430419922,11.519126892089844],"name":"Castelnuovo, Tr.A.A., Italie","point":{"type":"Point","coordinates":[46.051799774169922,11.497699737548828]},"address":{"adminDistrict":"Tr.A.A.","adminDistrict2":"TN","countryRegion":"Italie","formattedAddress":"Castelnuovo, Tr.A.A., Italie","locality":"Castelnuovo","countryRegionIso2":"IT"},"confidence":"High","entityType":"PopulatedPlace","geocodePoints":[{"type":"Point","coordinates":[46.051799774169922,11.497699737548828],"calculationMethod":"Rooftop","usageTypes":["Display"]}],"matchCodes":["Good"]},{"__type":"Location:http:\/\/schemas.microsoft.com\/search\/local\/ws\/rest\/v1","bbox":[44.958910323794555,9.387852082690733,45.016851089779664,9.4970279832272357],"name":"Castelnuovo, Em.Rom., Italie","point":{"type":"Point","coordinates":[44.987880706787109,9.4424400329589844]},"address":{"adminDistrict":"Em.Rom.","adminDistrict2":"PC","countryRegion":"Italie","formattedAddress":"Castelnuovo, Em.Rom., Italie","locality":"Castelnuovo","countryRegionIso2":"IT"},"confidence":"High","entityType":"Neighborhood","geocodePoints":[{"type":"Point","coordinates":[44.987880706787109,9.4424400329589844],"calculationMethod":"Rooftop","usageTypes":["Display"]}],"matchCodes":["Good"]},{"__type":"Location:http:\/\/schemas.microsoft.com\/search\/local\/ws\/rest\/v1","bbox":[43.797411300357055,11.014744487392822,43.855352066342164,11.121775898349366],"name":"Castelnuovo, Tosc., Italie","point":{"type":"Point","coordinates":[43.826381683349609,11.068260192871094]},"address":{"adminDistrict":"Tosc.","adminDistrict2":"PO","countryRegion":"Italie","formattedAddress":"Castelnuovo, Tosc., Italie","locality":"Castelnuovo","countryRegionIso2":"IT"},"confidence":"High","entityType":"Neighborhood","geocodePoints":[{"type":"Point","coordinates":[43.826381683349609,11.068260192871094],"calculationMethod":"Rooftop","usageTypes":["Display"]}],"matchCodes":["Good"]},{"__type":"Location:http:\/\/schemas.microsoft.com\/search\/local\/ws\/rest\/v1","bbox":[42.266840316470336,13.574242599134211,42.324781082455445,13.678637497301336],"name":"Castelnuovo, Abr., Italie","point":{"type":"Point","coordinates":[42.295810699462891,13.626440048217773]},"address":{"adminDistrict":"Abr.","adminDistrict2":"AQ","countryRegion":"Italie","formattedAddress":"Castelnuovo, Abr., Italie","locality":"Castelnuovo","countryRegionIso2":"IT"},"confidence":"High","entityType":"Neighborhood","geocodePoints":[{"type":"Point","coordinates":[42.295810699462891,13.626440048217773],"calculationMethod":"Rooftop","usageTypes":["Display"]}],"matchCodes":["Good"]}]}],"statusCode":200,"statusDescription":"OK","traceId":"76284b20f4bd448fb7093cb1363cf3f8|BN20280152|7.7.0.0|BN2SCH010000944"}";
Original file line number Diff line number Diff line change
@@ -1 +1 @@
s:167:"{"summary":{"query":"jsajhgsdkfjhsfkjhaldkadjaslgldasd","queryType":"NON_NEAR","queryTime":309,"numResults":0,"offset":0,"totalResults":0,"fuzzyLevel":1},"results":[]}";
s:167:"{"summary":{"query":"jsajhgsdkfjhsfkjhaldkadjaslgldasd","queryType":"NON_NEAR","queryTime":309,"numResults":0,"offset":0,"totalResults":0,"fuzzyLevel":1},"results":[]}";
Original file line number Diff line number Diff line change
@@ -1 +1 @@
s:923:"{"summary":{"query":"10 Downing St, London, UK","queryType":"NON_NEAR","queryTime":127,"numResults":1,"offset":0,"totalResults":1,"fuzzyLevel":1},"results":[{"type":"Address Range","id":"GB/ADDR/p0/2935834","score":9.35,"address":{"streetNumber":"10","streetName":"Downing Street","municipalitySubdivision":"London, Greater London","municipality":"London, Westminster","countrySecondarySubdivision":"London, Greater London","countrySubdivision":"ENG","postalCode":"SW1A 2","countryCode":"GB","country":"United Kingdom","countryCodeISO3":"GBR","freeformAddress":"10 Downing Street, London, SW1A 2","countrySubdivisionName":"England"},"position":{"lat":51.50322,"lon":-0.12611},"viewport":{"topLeftPoint":{"lat":51.50317,"lon":-0.12629},"btmRightPoint":{"lat":51.50317,"lon":-0.12611}},"addressRanges":{"rangeLeft":"0 - 0","rangeRight":"10 - 10","from":{"lat":51.50317,"lon":-0.12611},"to":{"lat":51.50317,"lon":-0.12629}}}]}";
s:923:"{"summary":{"query":"10 Downing St, London, UK","queryType":"NON_NEAR","queryTime":127,"numResults":1,"offset":0,"totalResults":1,"fuzzyLevel":1},"results":[{"type":"Address Range","id":"GB/ADDR/p0/2935834","score":9.35,"address":{"streetNumber":"10","streetName":"Downing Street","municipalitySubdivision":"London, Greater London","municipality":"London, Westminster","countrySecondarySubdivision":"London, Greater London","countrySubdivision":"ENG","postalCode":"SW1A 2","countryCode":"GB","country":"United Kingdom","countryCodeISO3":"GBR","freeformAddress":"10 Downing Street, London, SW1A 2","countrySubdivisionName":"England"},"position":{"lat":51.50322,"lon":-0.12611},"viewport":{"topLeftPoint":{"lat":51.50317,"lon":-0.12629},"btmRightPoint":{"lat":51.50317,"lon":-0.12611}},"addressRanges":{"rangeLeft":"0 - 0","rangeRight":"10 - 10","from":{"lat":51.50317,"lon":-0.12611},"to":{"lat":51.50317,"lon":-0.12629}}}]}";

0 comments on commit 2d4d1f3

Please sign in to comment.