Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature(hooks): automatically decompress responses #441

Open
1 task done
boltlessengineer opened this issue Sep 3, 2024 · 0 comments
Open
1 task done

Feature(hooks): automatically decompress responses #441

boltlessengineer opened this issue Sep 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@boltlessengineer
Copy link
Contributor

boltlessengineer commented Sep 3, 2024

Issues

  • I have checked existing issues and there are no existing ones with the same request.

Feature description

related: #435

Would be nice to have general decompression feature built-in to rest.nvim.
So rest.nvim can know that response body is decompressed and add a note about that as a comment.
We can use libraries like lua-zlib for this.

HTTP 200 OK

# @_RES (decompressed)
decompressed
response
body
# @_END
@boltlessengineer boltlessengineer added the enhancement New feature or request label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant