Skip to content

Answer a HEAD request with a 304 like the GET request (#1738) - #1741

Merged
thboileau-git merged 1 commit into
2.6from
fix/1738-head-not-modified-headers-2.6
Nov 28, 2026
Merged

thboileau-git merged 1 commit into
2.6from
fix/1738-head-not-modified-headers-2.6

Answer a HEAD request with a 304 like the GET request (#1738)

69cbdd4
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 28, 2026 in 1m 30s

Quality Gate failed

Failed conditions
C Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 147 in org.restlet.java/org.restlet/src/main/java/org/restlet/engine/adapter/ServerAdapter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Catch Exception instead of Throwable.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaIhtgsP5O2KWGZu72fX&open=AaIhtgsP5O2KWGZu72fX&pullRequest=1741

Check failure on line 84 in org.restlet.java/org.restlet/src/main/java/org/restlet/engine/adapter/ServerAdapter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaIhtgsP5O2KWGZu72fW&open=AaIhtgsP5O2KWGZu72fW&pullRequest=1741

Check warning on line 151 in org.restlet.java/org.restlet/src/main/java/org/restlet/engine/adapter/ServerAdapter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Format specifiers or lambda should be used instead of string concatenation.

See more on https://sonarcloud.io/project/issues?id=restlet_restlet-framework-java&issues=AaIhtgsP5O2KWGZu72fY&open=AaIhtgsP5O2KWGZu72fY&pullRequest=1741