Giter Site home page Giter Site logo

Comments (5)

Ognian avatar Ognian commented on June 6, 2024

Looks like they changed all the headers from X-Presto* to X-Trino* and they are hard coded here

from quix.

Ognian avatar Ognian commented on June 6, 2024

Ups Sorry, as per https://trino.io/docs/current/admin/properties-general.html
it looks like there is a protocol.v1.alternate-header-name which can be set to Presto will test and report back...

from quix.

Ognian avatar Ognian commented on June 6, 2024

yes this works, so sorry for the noise;
I'll let this issue open since the setting is actually deprecated and you should decide the best way how you'll like to support it...

from quix.

frolovv avatar frolovv commented on June 6, 2024

tnx for reporting @Ognian !

we will handle it (probably via config toggle)

from quix.

frolovv avatar frolovv commented on June 6, 2024

there is a new config param called HTTP_HEADERS_PREFIX for presto/trino modules

it allows you to specify the desired prefix, use X-PRESTO- for presto or X-TRINO- for trino respectively.

here is .env file and presto example :
https://github.com/wix/quix/blob/20abcb75a5912fefc412ffe9bc900d87e2b9f540/env-example#L12

from quix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.