Specifying a vary: Accept-Encoding Header on svg file

Dinesh Bali
Dinesh Bali used Ask the Experts™

How to Specify a vary: Accept-Encoding Header  on svg file?

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="3157.35 632 16.91 16.909" width="20px" height="20px"
      .cls-1 {
        fill: none;

      .cls-2 {
        clip-path: url(#clip-path);

      .cls-3 {
        fill: #e60053;
    <clipPath id="clip-path">
      <rect class="cls-1" width="16.91" height="16.909"/>
  <g id="Repeat_Grid_8" data-name="Repeat Grid 8" class="cls-2" transform="translate(3157.35 632)">
    <g id="Group_1491" data-name="Group 1491" transform="translate(-342.35 -26)">
      <rect id="Rectangle_352" data-name="Rectangle 352" class="cls-3" width="21.61" height="2.304" transform="translate(342.351 41.28) rotate(-45)"/>
      <rect id="Rectangle_354" data-name="Rectangle 354" class="cls-3" width="21.61" height="2.304" transform="translate(343.979 26) rotate(45)"/>

Open in new window

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Fixer of Problems
Most Valuable Expert 2014
Accept-Encoding Header like all other headers is sent by your web server and not your file.



Many thanks

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial