-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit d5a8336
[CookieStore] Only set
This changes the behavior of the automatic usage of the `CookieStore` to
avoid overwriting already-set `Cookie`s and, instead only sets them if
they do not exist yet.
Closes #1964
Co-authored-by: Aayush Atharva <aayush@shieldblaze.com>Cookies if they are not already set (#2033)1 parent 2af2715 commit d5a8336
File tree
4 files changed
+55
-9
lines changed- client/src
- main/java/org/asynchttpclient
- netty/handler/intercept
- test/java/org/asynchttpclient
4 files changed
+55
-9
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | - | ||
238 | + | ||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| |||
Lines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | + | ||
327 | + | ||
328 | + | ||
329 | + | ||
330 | + | ||
331 | + | ||
332 | + | ||
333 | + | ||
334 | + | ||
335 | + | ||
336 | + | ||
337 | + | ||
338 | + | ||
339 | + | ||
340 | + | ||
326 | 341 | | |
327 | 342 | | |
328 | 343 | | |
| |||
335 | 350 | | |
336 | 351 | | |
337 | 352 | | |
338 | - | ||
339 | - | ||
340 | - | ||
353 | + | ||
341 | 354 | | |
355 | + | ||
356 | + | ||
342 | 357 | | |
343 | 358 | | |
344 | 359 | | |
| |||
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | - | ||
146 | - | ||
147 | - | ||
148 | - | ||
149 | - | ||
145 | + | ||
146 | + | ||
150 | 147 | | |
151 | 148 | | |
152 | 149 | | |
| |||
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | + | ||
170 | + | ||
171 | + | ||
172 | + | ||
173 | + | ||
174 | + | ||
175 | + | ||
176 | + | ||
177 | + | ||
178 | + | ||
179 | + | ||
180 | + | ||
181 | + | ||
182 | + | ||
183 | + | ||
184 | + | ||
185 | + | ||
186 | + | ||
187 | + | ||
188 | + | ||
189 | + | ||
190 | + | ||
191 | + | ||
192 | + | ||
193 | + | ||
194 | + | ||
195 | + | ||
196 | + | ||
197 | + | ||
198 | + | ||
199 | + | ||
200 | + | ||
201 | + | ||
202 | + | ||
169 | 203 | | |
170 | 204 | | |
171 | 205 | | |
| |||
0 commit comments