namsral / multipass

Better authentication for HTTP
BSD 3-Clause "New" or "Revised" License
73 stars 4 forks source link

Content-Type header missing on basepath #16

Closed fanningert closed 7 years ago

fanningert commented 7 years ago

Hi when I actvate multipass without GZIP everthing is working. When I add following GZIP parameter into the config, I get a file download popup for multipass path.

gzip {
  level 6
}

only solution is currently to add the multipass path to except path for gzip.

gzip {
  level 6
  not /multipass
}
namsral commented 7 years ago

I can confirm that this is an bug. The Content-Type header isn't set in multipass.go#L185