RedMadRobot / catbird

Mock server for UI tests
MIT License
50 stars 10 forks source link

Fix RedirectMiddleware #27

Closed subdan closed 3 years ago

subdan commented 3 years ago

Catbird doesn't work in write mode when CATBIRD_PROXY_URL has HTTPS scheme. Vapor adds Host: 127.0.0.1:8080 header. In this case the certificate error occurs.

I remove Host header in RedirectMiddleware to prevent this issue. Also fixed a typo.