resurfaceio / insomnia-plugin

Log API calls with Insomnia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get Insomnia app version or actual user-agent header

monrax opened this issue · comments

Currently the user-agent header is hard coded, and the app version is missing from it (only kept the year part). This temporary fix came as a result of an Insomnia update that made all non-custom headers for a request (i.e. all the headers added by Insomnia automatically such as user-agent, host, accept-encoding) unavailable from the context object. Working on a fix for this over at Kong/Insomnia.

Commit 2d4e755 closes this.