Fix compilation error introduced by 7f907e8c2a
This commit is contained in:
parent
7f907e8c2a
commit
e1a53e61d0
@ -328,7 +328,7 @@ public class HttpPostRequestDecoderTest {
|
|||||||
final String boundary = "dLV9Wyq26L_-JQxk6ferf-RT153LhOO";
|
final String boundary = "dLV9Wyq26L_-JQxk6ferf-RT153LhOO";
|
||||||
final DefaultFullHttpRequest req = new DefaultFullHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.POST,
|
final DefaultFullHttpRequest req = new DefaultFullHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.POST,
|
||||||
"http://localhost");
|
"http://localhost");
|
||||||
req.headers().add(HttpHeaders.Names.CONTENT_TYPE, "multipart/form-data; boundary=" + boundary);
|
req.headers().add(HttpHeaderNames.CONTENT_TYPE, "multipart/form-data; boundary=" + boundary);
|
||||||
// Force to use memory-based data.
|
// Force to use memory-based data.
|
||||||
final DefaultHttpDataFactory inMemoryFactory = new DefaultHttpDataFactory(false);
|
final DefaultHttpDataFactory inMemoryFactory = new DefaultHttpDataFactory(false);
|
||||||
final String data = "asdf";
|
final String data = "asdf";
|
||||||
|
Loading…
Reference in New Issue
Block a user