Skip to content

feat: Create WWW-Authenticate metadata writer - #761

Merged
jvherweg merged 1 commit into
mainfrom
feat/auth-header
Jun 7, 2021
Merged

jvherweg merged 1 commit into
mainfrom
feat/auth-header

Conversation

@jvherweg

@jvherweg jvherweg commented Jun 4, 2021

Copy link
Copy Markdown
Member

Closes #655.

Depends on #760.

@RubenVerborgh RubenVerborgh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Very exciting! Proves that #760 is the right direction.
Good to have the integration test.

@RubenVerborgh

Copy link
Copy Markdown
Member

Just a thought, do with it what you want 🙂

Imagine a ConditionalMetadataWriter that checks the status code, and then invokes another writer. In this case the existing constant header writer 😃

@jvherweg

jvherweg commented Jun 4, 2021

Copy link
Copy Markdown
Member Author

Imagine a ConditionalMetadataWriter that checks the status code, and then invokes another writer. In this case the existing constant header writer 😃

Let's get back to that for #673 😉

@RubenVerborgh

RubenVerborgh commented Jun 4, 2021 •

Copy link
Copy Markdown
Member

Let's get back to that for #673 😉

Amazing. I'm sensing an ConditionalHandler<T extends { request: HttpRequest }> implements AsyncHandler<T> that checks status code.

@jvherweg
jvherweg force-pushed the feat/error-writer branch from 83442a9 to e755f55 Compare June 7, 2021 11:46
Base automatically changed from feat/error-writer to main June 7, 2021 11:54
@jvherweg
jvherweg force-pushed the feat/auth-header branch from 2a67f3b to a2a09af Compare June 7, 2021 12:16
@jvherweg
jvherweg merged commit e3c5b39 into main Jun 7, 2021
@jvherweg
jvherweg deleted the feat/auth-header branch June 7, 2021 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

401 responses MUST contain WWW-Authenticate header

3 participants