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

Trim request body httpclient resource #84

Closed
alileza opened this issue Apr 4, 2019 · 0 comments
Closed

Trim request body httpclient resource #84

alileza opened this issue Apr 4, 2019 · 0 comments
Labels
bug Something isn't working low hanging fruit

Comments

@alileza
Copy link
Member

alileza commented Apr 4, 2019

Describe the bug
When sending request with payload, httpclient is not trimming the request body, so

server will be able to read this properly

Given "http-cli" send request to "POST /api/v1" with body
        """
myparams=booyah
        """

but not this

Given "http-cli" send request to "POST /api/v1" with body
        """
               myparams=booyah
        """

Expected behavior
those 2 example above should behave the same way

@alileza alileza added bug Something isn't working low hanging fruit labels Apr 4, 2019
@snagles snagles closed this as completed Apr 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working low hanging fruit
Projects
None yet
Development

No branches or pull requests

2 participants