Blog

SPFx issues with the new Referrer-Policy in Chrome >= 85

Since version 85 of Chrome, the default referrer policy has changed from `no-referrer-when-downgrade` to `strict-origin-when-cross-origin`. This change might have a significant impact on your SharePoint Framework solutions when they rely on the referrer header (or better, the referer header with a single "r"). ## What is the referrer header? Whenever your browser does an API call, the `referrer` header gets used

Read article

Parse multipart/form-data in Azure Function

While working on an internal Azure Static Web Site project, I needed to upload CSV files to an Azure Function to import data to Cosmos DB. When uploading a file to your API, the `multipart/form-data` content-type is used. The body's format looks a bit "special" as it requires some parsing to get each file. ```html -----WebKitFormBoundaryXvnFih9Jfw9ZdQNB Content-Disposition: form-data; name': '"file"; filename="2020-9-2-localization.csv" Content-Type: text/csv id,name test1,test1 test2,test2 ------WebKitFormBoundaryXvnFih9Jfw9ZdQNB-- ``` Similar like the

Read article

Elio Struyf

Solutions Architect & Developer Expert

Loading...

Let's build together

Manage content in VS Code

Present from VS Code

Engage with your audience throughout the event lifecycle