Skip to content

Conversation

alechenninger
Copy link
Contributor

#328

TODO:

  • Does removing the content length header from request prevent persistent connections?

@coveralls
Copy link

coveralls commented Jan 12, 2017

Coverage Status

Coverage decreased (-68.8%) to 0.0% when pulling 777b596 on alechenninger:request-mapper into a658cfc on lightblue-platform:master.

/**
* Requst body as string, defaults to getBodyJson().toString()
*/
@Deprecated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? Or perhaps what should be used instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getBodyJson should be used instead. This uses a default global object mapper so it can't be configured. I'll add a comment.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, it can be configured, but isn't configured the same as for responses. Details in #328

@bvulaj
Copy link
Member

bvulaj commented Nov 1, 2017

@alechenninger @dcrissman Should we have merged this forever ago?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants