{"action":"created","issue":{"url":"https://api.github.com/repos/ztellman/aleph/issues/356","repository_url":"https://api.github.com/repos/ztellman/aleph","labels_url":"https://api.github.com/repos/ztellman/aleph/issues/356/labels{/name}","comments_url":"https://api.github.com/repos/ztellman/aleph/issues/356/comments","events_url":"https://api.github.com/repos/ztellman/aleph/issues/356/events","html_url":"https://github.com/ztellman/aleph/issues/356","id":296301031,"number":356,"title":"browser request failed after enable :compression?","user":{"login":"zerg000000","id":910506,"avatar_url":"https://avatars1.githubusercontent.com/u/910506?v=4","gravatar_id":"","url":"https://api.github.com/users/zerg000000","html_url":"https://github.com/zerg000000","followers_url":"https://api.github.com/users/zerg000000/followers","following_url":"https://api.github.com/users/zerg000000/following{/other_user}","gists_url":"https://api.github.com/users/zerg000000/gists{/gist_id}","starred_url":"https://api.github.com/users/zerg000000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zerg000000/subscriptions","organizations_url":"https://api.github.com/users/zerg000000/orgs","repos_url":"https://api.github.com/users/zerg000000/repos","events_url":"https://api.github.com/users/zerg000000/events{/privacy}","received_events_url":"https://api.github.com/users/zerg000000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-12T08:53:11Z","updated_at":"2018-02-12T15:35:05Z","closed_at":null,"author_association":"NONE","body":"a litte repl code to reproduce the case\r\n\r\nassuming a text file abc.html at classpath `public/abc.html`\r\n\r\n```\r\nuser=>(require '[ring.middleware.resource :as resource])\r\nnil\r\nuser=>(require '[aleph.http :as http])\r\nnil\r\nuser=>(def s (http/start-server (resource/wrap-resource identity \"public/\") \r\n  {:compression? true :port 3000}))\r\n#'user/s\r\nuser=>(slurp (:body @(http/get \"http://localhost:3000/abc.html\")))\r\n\"<html>\\n<head>\\n  <link href=\\\"style.css\\\" rel=\\\"stylesheet\\\">\\n</head>\\n<body>\\nHellll\\n</body>\\n</html>\\n\"\r\n```\r\n\r\nit works okay in `http/get`.\r\n\r\nBut when I try it in browser. it failed with status stalled.\r\n\r\nthe project.clj\r\n```\r\n(defproject aleph-is \"0.1.0-SNAPSHOT\"\r\n  :description \"FIXME: write description\"\r\n  :url \"http://example.com/FIXME\"\r\n  :license {:name \"Eclipse Public License\"\r\n            :url \"http://www.eclipse.org/legal/epl-v10.html\"}\r\n  :dependencies [[org.clojure/clojure \"1.9.0\"]\r\n                 [ring \"1.6.3\"]\r\n                 [aleph \"0.4.5-alpha3\"]])\r\n```\r\n\r\nThe it is not working since 0.4.4 which first introduce the flag `:compression?`"},"comment":{"url":"https://api.github.com/repos/ztellman/aleph/issues/comments/364959181","html_url":"https://github.com/ztellman/aleph/issues/356#issuecomment-364959181","issue_url":"https://api.github.com/repos/ztellman/aleph/issues/356","id":364959181,"user":{"login":"zerg000000","id":910506,"avatar_url":"https://avatars1.githubusercontent.com/u/910506?v=4","gravatar_id":"","url":"https://api.github.com/users/zerg000000","html_url":"https://github.com/zerg000000","followers_url":"https://api.github.com/users/zerg000000/followers","following_url":"https://api.github.com/users/zerg000000/following{/other_user}","gists_url":"https://api.github.com/users/zerg000000/gists{/gist_id}","starred_url":"https://api.github.com/users/zerg000000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zerg000000/subscriptions","organizations_url":"https://api.github.com/users/zerg000000/orgs","repos_url":"https://api.github.com/users/zerg000000/repos","events_url":"https://api.github.com/users/zerg000000/events{/privacy}","received_events_url":"https://api.github.com/users/zerg000000/received_events","type":"User","site_admin":false},"created_at":"2018-02-12T15:35:05Z","updated_at":"2018-02-12T15:35:05Z","author_association":"NONE","body":"Cool. Thanks for your in deep answer! "}}
{"actor":{"display_login":"zerg000000"}}