| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Has this been tested on the AWS platform? |
Sorry, something went wrong.
Yes, LB and API GW were tested, I removed websockets |
Sorry, something went wrong.
| if (headers == null || headers.isEmpty()) { | ||
| this.headers = null; | ||
| return; | ||
| } | ||
|
|
||
| if (this.headers == null) { | ||
| this.headers = new HttpHeaders<>(); | ||
| } | ||
| this.headers.putAll(headers); |
There was a problem hiding this comment.
This is a breaking change for consumers using setHeaders and expecting it to override all previous values
Sorry, something went wrong.
There was a problem hiding this comment.
Right, we need to remove if (this.headers == null)
Sorry, something went wrong.
This solution builds upon @jeromevdl 's solution of PR aws#234 to fix the issue of headers being case sensitive. Fixes @carlzogh 's comment regarding breaking changes in setHeaders.
This solution builds upon @jeromevdl 's solution of PR aws#234 to fix the issue of headers being case sensitive. Fixes @carlzogh 's comment regarding breaking changes in setHeaders.
This solution builds upon @jeromevdl 's solution of PR aws#234 to fix the issue of headers being case sensitive. Fixes @carlzogh 's comment regarding breaking changes in setHeaders.
| Back | FazBrowse Home | New Git URL |
Issue #, if available: #220
Description of changes: Using TreeMap (and CASE_INSENSITIVE_ORDER initialisation) within a custom Header object.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.