Juergen Hoeller
cd0570ee39
Log resource path resolution failure at debug level (instead of warn)
...
Closes gh-26828
2021-05-11 17:30:57 +02:00
Sam Brannen
33add3350b
Sync changes in MockHttpServletResponse test fixture
...
See gh-26558
2021-02-17 14:51:09 +01:00
Juergen Hoeller
7325a863bb
Consistent declarations and assertions in MockMultipartFile
...
See gh-26261
(cherry picked from commit fbd2ffdd23 )
2020-12-17 10:50:47 +01:00
Juergen Hoeller
e176c4e799
Polishing
2020-10-12 19:40:50 +02:00
Sam Brannen
5576321b04
Reset charset field in MockHttpServletResponse
...
Prior to this commit, calling reset() on MockHttpServletResponse did not
reset the `charset` field to `false` which could result in the
"Content-Type" header containing `;charset=null` which in turn would
result in errors when parsing the "Content-Type" header.
This commit resets the charset field to `false` in
MockHttpServletResponse's reset() method to avoid such errors.
Closes gh-25501
2020-08-01 14:01:39 +02:00
Sam Brannen
785ab5798a
Sync MockHttpServletResponse changes
2020-08-01 12:43:26 +02:00
Juergen Hoeller
d71957ce7c
Polishing
2020-06-06 17:45:12 +02:00
Juergen Hoeller
f3d4df2fd4
Consistently check available local/remote addresses for non-null
2020-06-06 15:15:16 +02:00
Rossen Stoyanchev
955f77bf5d
Add error message to MockServerHttpRequest
...
Closes gh-25109
2020-05-27 18:57:02 +01:00
Rossen Stoyanchev
d7a29bbcef
DefaultClientResponseBuilder copies logPrefix
...
Closes gh-25069
2020-05-23 10:41:07 +01:00
Rossen Stoyanchev
8204055924
MockServerHttpRequest accepts custom HTTP method
...
Closes gh-25109
2020-05-23 10:40:25 +01:00
Sam Brannen
b8835c9f32
Copy MockHttpServletRequest changes to spring-web
...
See gh-24916
2020-04-17 16:20:42 +02:00
Rossen Stoyanchev
7aa06b8610
Polishing contribution
...
See gh-24786
2020-03-26 21:42:12 +00:00
Сергей Цыпанов
f17b0125ff
Simplify conversion of DataBuffer to String
...
See gh-24786
2020-03-26 21:42:12 +00:00
Sam Brannen
7b6d83a106
Use Gradle test fixture support for spring-web
...
See gh-23550
2020-01-02 16:01:35 +01:00