Closed thatarchguy closed 9 years ago
Checks user-agent for wget, curl, and fetch
The ip address gets iffy since we will be running this behind a load balancer / reverse proxy. So we need to grab the "X-Forwarded-For" out of the header. Thankfully werkzeug does this for us automatically.
Solves #2
Checks user-agent for wget, curl, and fetch
The ip address gets iffy since we will be running this behind a load balancer / reverse proxy. So we need to grab the "X-Forwarded-For" out of the header. Thankfully werkzeug does this for us automatically.
Solves #2