File tree 2 files changed +4
-1
lines changed
microprofile/tests/server/src/test/java/io/helidon/microprofile/tests/server
webserver/webserver/src/main/java/io/helidon/webserver
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2021, 2024 Oracle and/or its affiliates.
2
+ * Copyright (c) 2021, 2025 Oracle and/or its affiliates.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
19
19
import io .helidon .http .Header ;
20
20
import io .helidon .http .HeaderValues ;
21
21
import io .helidon .http .Status ;
22
+ import io .helidon .microprofile .testing .AddConfig ;
22
23
import io .helidon .microprofile .testing .junit5 .AddBean ;
23
24
import io .helidon .microprofile .testing .junit5 .HelidonTest ;
24
25
import io .helidon .webclient .api .WebClient ;
37
38
38
39
@ HelidonTest
39
40
@ AddBean (BadHostHeaderTest .TestResource .class )
41
+ @ AddConfig (key = "server.error-handling.include-entity" , value = "true" )
40
42
public class BadHostHeaderTest {
41
43
private static final Header BAD_HOST_HEADER = HeaderValues .create ("Host" , "localhost:808a" );
42
44
Original file line number Diff line number Diff line change @@ -405,5 +405,6 @@ default void configureSocket(ServerSocket socket) {
405
405
*
406
406
* @return optional error handling
407
407
*/
408
+ @ Option .Configured
408
409
Optional <ErrorHandling > errorHandling ();
409
410
}
You can’t perform that action at this time.
0 commit comments