Skip to content

add asserBufferedRequestBodyFalseConfig in HttpComponentsClientHttpRequestFactoryTests - #603

Closed
hangsublim wants to merge 2 commits into
spring-projects:mainfrom
hangsublim:master
Closed

hangsublim wants to merge 2 commits into
spring-projects:mainfrom
hangsublim:master

Conversation

@hangsublim

Copy link
Copy Markdown

The HttpComponentsClientHttpRequestFactory throw UnsupportedOperationException when bufferRequestBody is set false. So I added testcase HttpComponentsClientHttpRequestFactoryTests to recommend about use SimpleClientHttpRequestFactory if bufferRequestBody is set false.
Because no buffer can not use OutputStream result.
Testcase is useful of knowing the fact. And I added comment at that testcase.

Issue: SPR-11981

HttpComponentsClientHttpRequestFactoryTests
@pivotal-issuemaster

Copy link
Copy Markdown

@hangsublim Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@rstoyanchev rstoyanchev added the in: web Issues in web modules (web, webmvc, webflux, websocket) label Nov 11, 2021
@pivotal-cla

Copy link
Copy Markdown

@hangsublim Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@rstoyanchev rstoyanchev added status: invalid An issue that we don't feel is valid and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: web Issues in web modules (web, webmvc, webflux, websocket) status: invalid An issue that we don't feel is valid

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants