blacklight / nvim-http

An HTTP client for neovim inspired by vscode-restclient and the IntelliJ HTTP client
MIT License
87 stars 5 forks source link

Python request error #9

Open acambas opened 7 months ago

acambas commented 7 months ago

Hello, I'm trying to use the plugin but when i try to run it i get this error:

Http Error invoking 'python_execute' on channel 160 (python3-script-host):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/sasha.cambas/.local/share/nvim/lazy/nvim-http/autoload/../python/nvim_http/client.py", line 63, in http_run
    request = parse_http_request(text, **env)
TypeError: nvim_http.parser.parse_http_request() argument after ** must be a mapping, not str

here's the http file example:

###
GET  https://reqres.in/api/users

Some extra info about my setup: