xeqi/kerodon

Sending origin and referer headers

Opened this issue · 2 comments

My app makes use of the origin and referer headers for some functionality. It would be handy if kerodon automatically detected and provided origin and referer headers. Is this something that could be accepted in a PR?

I'm fairly sure it sets referer already, but a PR for origin sounds good to me

I took a quick look at this, and I think it only sets referer for redirects, not for normal requests. This might end up being fixed in peridot.