Worked on http-redirect. Works with curl, but not with Firefox.