Skip to content

Access headers in middlewares #1554

@guillaume-g

Description

@guillaume-g

Hi,

I am new to Grape and I have read the docs and README, but I can't figure out how to access headers in the before method.

I have a class Grape::Middleware::Base with a method before and I didn't find how to access the incoming headers...

Thank in advance !

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions