{"action":"closed","issue":{"url":"https://api.github.com/repos/adamfisk/LittleProxy/issues/222","labels_url":"https://api.github.com/repos/adamfisk/LittleProxy/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/adamfisk/LittleProxy/issues/222/comments","events_url":"https://api.github.com/repos/adamfisk/LittleProxy/issues/222/events","html_url":"https://github.com/adamfisk/LittleProxy/issues/222","id":97805049,"number":222,"title":"Answer redirect by filter for direct proxy requests trick is broken","user":{"login":"ganskef","id":10618502,"avatar_url":"https://avatars.githubusercontent.com/u/10618502?v=3","gravatar_id":"","url":"https://api.github.com/users/ganskef","html_url":"https://github.com/ganskef","followers_url":"https://api.github.com/users/ganskef/followers","following_url":"https://api.github.com/users/ganskef/following{/other_user}","gists_url":"https://api.github.com/users/ganskef/gists{/gist_id}","starred_url":"https://api.github.com/users/ganskef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ganskef/subscriptions","organizations_url":"https://api.github.com/users/ganskef/orgs","repos_url":"https://api.github.com/users/ganskef/repos","events_url":"https://api.github.com/users/ganskef/events{/privacy}","received_events_url":"https://api.github.com/users/ganskef/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-28T21:23:50Z","updated_at":"2015-07-29T20:45:46Z","closed_at":"2015-07-29T20:45:46Z","body":"I've built a caching proxy server, which provides a Web UI for its contents or browsing history and for full text search results. This is implemented with filters which answers responses with content, errors or with a 302 Found state to redirect. Redirects are neccessary for the modify/redirect [pattern](https://en.wikipedia.org/wiki/Post/Redirect/Get). It works fine with LittleProxy up to 78e41b2a79c99f88897668370b60204e7ad0bfa8. \r\n\r\n@jekh I think it's introduced with #204. Please, have a look at this [test](https://github.com/ganskef/LittleProxy/blob/before_upstream_breaks_redirect/src/test/java/org/littleshoot/proxy/AnswerRedirectByFilterTest.java). It's working in this branch, but it fails in master.\r\n\r\nUpdate: fails means: the browser is not redirected to another URL and waits until timeout occours."}}