-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
Description
Phil Webb opened SPR-17470 and commented
See this issue for some background.
Currently the BasicAuthenticationInterceptor
class is a ClientHttpRequestInterceptor
which causes the entire body to be read into a byte array and can cause OutOfMemoryError
errors. I've managed to work around the issue by using a AbstractClientHttpRequestFactoryWrapper, but it would be really nice if there was a better way to do this. Perhaps we can create an alternative ClientHttpRequestInterceptor
that can be used when only headers need to be changed.
Reference URL: spring-io/artifactory-resource#27
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement