Skip to content

Conversation

@timayabi2020
Copy link
Contributor

Fixes #1132

  • Add checks for 3XX responses without a location header to prevent throwing an exception.

@timayabi2020 timayabi2020 requested a review from a team as a code owner February 18, 2025 21:31
@timayabi2020 timayabi2020 marked this pull request as draft February 18, 2025 22:52
@timayabi2020 timayabi2020 marked this pull request as ready for review February 19, 2025 00:09
Copy link
Contributor

@andrueastman andrueastman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any chance you also align the commit message format for the purposes of release/changelog generation as outlined at https://github.com/microsoft/kiota-java/blob/main/CONTRIBUTING.md#commit-message-format

@baywet
Copy link
Member

baywet commented Feb 19, 2025

@andrueastman for final review and merge (please squash with a conventional commit so we trigger a release here)

Fixed violations as per PR gate recommendations

Sonar recommendations

Addressing sonar issues

Gradle apply

Updated test to cover multiple values

Added another test

Updated value sources

Updated test

Removed unnecessary test

Updates

Updated tests

fix: Ensure 3XX responses without location header do not throw

fix: Ensure 3XX responses without location header do not throw
@timayabi2020 timayabi2020 force-pushed the tm/fix-3xx-location-header branch from 802ed12 to 214a624 Compare February 20, 2025 07:10
@sonarqubecloud
Copy link

@timayabi2020 timayabi2020 merged commit b63ac96 into main Feb 20, 2025
10 checks passed
@timayabi2020 timayabi2020 deleted the tm/fix-3xx-location-header branch February 20, 2025 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

ensure 3XX responses without location header do not throw

4 participants