Fix compilation error introduced by 7f907e8c2a

This commit is contained in:
Norman Maurer 2015-01-16 16:47:51 +01:00
parent 7f907e8c2a
commit e1a53e61d0

View File

@ -328,7 +328,7 @@ public class HttpPostRequestDecoderTest {
final String boundary = "dLV9Wyq26L_-JQxk6ferf-RT153LhOO";
final DefaultFullHttpRequest req = new DefaultFullHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.POST,
"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.
final DefaultHttpDataFactory inMemoryFactory = new DefaultHttpDataFactory(false);
final String data = "asdf";