Skip to content

Conversation

@MichaelWest22
Copy link
Collaborator

@MichaelWest22 MichaelWest22 commented Sep 13, 2024

Description

Added some documentation for how response headers are not received or processed when 3xx response codes are returned.

Corresponding issue:
#2879

Testing

Checklist

  • I have read the contribution guidelines
  • I have targeted this PR against the correct branch (master for website changes, dev for
    source changes)
  • This is either a bugfix, a documentation update, or a new feature that has been explicitly
    approved via an issue
  • I ran the test suite locally (npm run test) and verified that it succeeded
@MichaelWest22 MichaelWest22 changed the title 3xx redirects can't send headers Sep 13, 2024
Copy link
Collaborator

@Telroshan Telroshan left a comment

Choose a reason for hiding this comment

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

Great addition for a very common gotcha!

| `HX-Trigger` | the `id` of the triggered element if it exists

### Response Headers
### Response Headers {#response_headers}
Copy link
Collaborator

Choose a reason for hiding this comment

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

This seems to break the default anchor that was response-headers and referenced at 2 other places in this file.
Ran zola serve and got 2 errors, I'd say either replace this by response-headers or replace the 2 existing usages by response_headers.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah sorry I missed those two existing links. should be fixed now

@Telroshan Telroshan added the documentation Improvements or additions to documentation label Sep 14, 2024
@Telroshan
Copy link
Collaborator

Perfect thanks!

@Telroshan Telroshan merged commit 6ce6a1a into bigskysoftware:master Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

2 participants