Skip to content

- fixes a bug where no content codes would be considered structured - #4367

Merged
Vincent Biret (baywet) merged 2 commits into
mainfrom
bugfix/no-cotent-additional-codes
Mar 21, 2024
Merged

Vincent Biret (baywet) merged 2 commits into
mainfrom
bugfix/no-cotent-additional-codes

Conversation

@baywet

Copy link
Copy Markdown
Member

fixes #4190

@sonarqubecloud

Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@baywet

Copy link
Copy Markdown
Member Author

Andrew Omondi (@andrueastman) yes, thanks for the nudge, my plan was to create follow up issues in the http repos.
Effectively there are two major cases:

  • 3XX response with a location header: the redirect middleware will follow the location value, and return the other response. Should work as is.
  • 3XX response without a location header: we'll get the immediate response, and depending on what IsSuccessResponse (or equivalent) evaluates, we might throw when we shouldn't today. This should be fixed in the implementations.

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.

Kiota throws ApiException when server returns 304

2 participants