gquintard / libvmod-accept Goto Github PK
View Code? Open in Web Editor NEWVarnish module to filter HTTP accept headers
Varnish module to filter HTTP accept headers
master
branch does not compile against Varnish 5.
checking for Varnish... 5.1.2
configure: error: Varnish version below 5.1 is required.
There is also no specific branch nor tag to work with this version, only master
is available. Does the vmod support Varnish 5 at all?
we just noticed that the accept rules we set for languages seem to be case sensitive. our backend is not case sensitive, so introducing this module broke some clients that sent an UPPERCASE language. we changed to accept_lang_rules.filter(std.tolower(req.http.Accept-Language))
to work around the issue, but i wanted to ask if this is designed like this on purpose or not. if its on purpose, i suggest to update the readme to mention that and maybe change the lang_rules example to use std.tolower.
The 4.1
branch requires varnish 5.0+ which causes ./configure
to fail.
checking for Varnish... 4.1.11
configure: error: Varnish version 5.0 or higher is required.
Upon changing the VARNISH_PREREQ([5.0])
constraint in configure.ac
it has been built successfully. Is it only the matter of a wrong constraint?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.