8000 Configure default parameters for ajax requests · Issue #38 · postlight/trimmings · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Configure default parameters for ajax requests #38
Open
@garygreen

Description

@garygreen

It would be great if we could configure the ajax/fetch requests to include additional information, a bit like axios config defaults

Our use case is that we want to add a custom header X-Requested-With-Trimmings that way we can detect this on the server and only serve partial HTML if we know we don't need to render the full page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0