codegangsta / gin

Live reload utility for Go web servers
MIT License
4.23k stars 317 forks source link

Add cli flag 'httpHeaders' that enables settings proxy's http response headers #144

Closed Oppodelldog closed 5 years ago

Oppodelldog commented 6 years ago

Hey, what do you think of this feature? For me gin acts as some kind of server in front of a go service. Since I'd like to run integrity tests on my docker-compose environment I'd like gin to pass back some custom header.

Of course I could add the header in my application. But I'd like to receive it from gin since my tests just need some robust endpoint - and the application relies on a git repository which may be not as robust as the compiled gin in my container.