This release adds the ability to define custom headers on Inertia requests, thanks to the work of @claudiodekker (#202).
Here is how this is done:
this.$inertia.visit('/users', {
headers: {
'Custom-Header': 'value',
},
})
this.$inertia.post('/users', this.form, {
headers: {
'Custom-Header': 'value',
},
})