Skip to content

Support for 'expect' header #55

@systemmonkey42

Description

@systemmonkey42

Hi,

I don't know if this is actively developed, but I struck an issue with a WEBDAV server where it sent an expect: 100-continue header which caused authelia to emit HTTP/1.1 100 Continue before sending the authentication results.

The auth-request.lua script immediately disconnected as soon as it saw the HTTP/1.1 100 Continue with the message

haproxy[231]: Invalid status code in auth-request backend 'be_authelia': 100

Adding the line

headers["expect"] = nil

fixes the problem.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions