문제

Some mobile operators(rays of hate) turns of compression (remove header Accept-Enconding) when using internet.

Have the opportunity to respond mod_deflate to custom header ?

도움이 되었습니까?

해결책

You should be able to do this with mod_filter. See http://httpd.apache.org/docs/2.4/mod/mod_filter.html for the Apache 2.4 version of the documentation, but this is available since Apache 2.1

You'll need to use the FilterProvider directive and an expression based on the custom header you want to pass.

I presume you have an iOS or Android app which can set the custom header? Alternatively, you can also set a custom header using JavaScript and XMLHTTPRequest.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top