diepm / vim-rest-console

A REST console for Vim.
658 stars 54 forks source link

properly set content-type to json when the user doesn't set any header #30

Closed dflupu closed 8 years ago

dflupu commented 8 years ago

Hi,

According to the documentation, the default content-type should be application/json. However, if the user doesn't add any headers by hand, then the content-type is not set at all. This should fix that.

diepm commented 8 years ago

Wow, thanks for your fix.