You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Accessing a ressource via JavaScript http module leads to the following error if the response header contains a german umlaut like "äüö" or special characters like "ß": Uncaught (in promise) failed to execute API: failed to convert response header value to string
Example:
Server
const express = require('express');
const cors = require('cors');
const app = express();
app.use(cors());
app.use(express.static('public'));
app.get('/test', (req, res) => {
res.set("test-header", "ü")
res.json({
message: 'Hello World'
});
});
app.get('/', (req, res) => {
res.sendFile("index.html");
});
app.listen(2020, () => {
console.log('server is listening on port 2020');
});
Accessing a ressource via JavaScript http module leads to the following error if the response header contains a german umlaut like "äüö" or special characters like "ß":
Uncaught (in promise) failed to execute API: failed to convert response header value to string
Example:
tauri info:
The text was updated successfully, but these errors were encountered: