{"action":"opened","issue":{"url":"https://api.github.com/repos/adamfisk/LittleProxy/issues/254","labels_url":"https://api.github.com/repos/adamfisk/LittleProxy/issues/254/labels{/name}","comments_url":"https://api.github.com/repos/adamfisk/LittleProxy/issues/254/comments","events_url":"https://api.github.com/repos/adamfisk/LittleProxy/issues/254/events","html_url":"https://github.com/adamfisk/LittleProxy/issues/254","id":120791811,"number":254,"title":"How to abort requests for specific url patterns or file-endings?","user":{"login":"PatrickHuetter","id":1142911,"avatar_url":"https://avatars.githubusercontent.com/u/1142911?v=3","gravatar_id":"","url":"https://api.github.com/users/PatrickHuetter","html_url":"https://github.com/PatrickHuetter","followers_url":"https://api.github.com/users/PatrickHuetter/followers","following_url":"https://api.github.com/users/PatrickHuetter/following{/other_user}","gists_url":"https://api.github.com/users/PatrickHuetter/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrickHuetter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrickHuetter/subscriptions","organizations_url":"https://api.github.com/users/PatrickHuetter/orgs","repos_url":"https://api.github.com/users/PatrickHuetter/repos","events_url":"https://api.github.com/users/PatrickHuetter/events{/privacy}","received_events_url":"https://api.github.com/users/PatrickHuetter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-07T14:59:02Z","updated_at":"2015-12-07T14:59:02Z","closed_at":null,"body":"I'm using littleProxy in chained-proxy mode as transparent proxy which tunnels traffic through another proxy.\r\nNow i want to block some specific resources for the client which is using the littleProxy. For example: I don't want to allow requests to resources like *.css, *.png, *.jpeg, *.jpg, *.webm files.\r\n\r\nWhere should i implement this? I already did some request filtering within my BaseChainedProxy to add or remove some headers. Maybe i should check the httpRequest object uri and do that in the same place?"}}