Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
servers: |
[{
"id": "ossrh",
"id": "central",
"username": "${{ secrets.OSSRH_USERNAME }}",
"password": "${{ secrets.OSSRH_PASSWORD }}"
}]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ Maven:
<dependency>
<groupId>org.asynchttpclient</groupId>
<artifactId>async-http-client</artifactId>
<version>3.0.2</version>
<version>3.0.3</version>
</dependency>
</dependencies>
```

Gradle:
```groovy
dependencies {
implementation 'org.asynchttpclient:async-http-client:3.0.2'
implementation 'org.asynchttpclient:async-http-client:3.0.3'
}
```

Expand Down
2 changes: 1 addition & 1 deletion client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<parent>
<groupId>org.asynchttpclient</groupId>
<artifactId>async-http-client-project</artifactId>
<version>3.0.2</version>
<version>3.0.3</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,10 @@ public interface AsyncHttpClientConfig {
*
* @return true if the Authorization header should be stripped, false otherwise.
*/
boolean isStripAuthorizationOnRedirect();
default boolean isStripAuthorizationOnRedirect() {
// By default, we throw, so that existing implementations don't break.
throw new UnsupportedOperationException("IsStripAuthorizationOnRedirect is not supported by " + getClass().getName());
}

enum ResponseBodyPartFactory {

Expand Down
13 changes: 5 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<groupId>org.asynchttpclient</groupId>
<artifactId>async-http-client-project</artifactId>
<version>3.0.2</version>
<version>3.0.3</version>
<packaging>pom</packaging>

<name>AHC/Project</name>
Expand Down Expand Up @@ -394,15 +394,12 @@
</plugin>

<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.7.0</version>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.8.0</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
<skipRemoteStaging>false</skipRemoteStaging>
<publishingServerId>central</publishingServerId>
</configuration>
</plugin>

Expand Down
Loading