 <p>Looking at <a href="https://hackage.haskell.org/package/wreq-0.4.1.0/docs/src/Network-Wreq.html" rel="nofollow noreferrer">the sources</a> of <em>wreq</em> reveals that the <code>Response</code> type comes from the <em>http-client</em> library. That is the same library used by the blog post you link to, and so the solution is the same that, presumably, was used in the post: import <code>Network.HTTP.Client.Internal</code>, which <a href="https://hackage.haskell.org/package/http-client-0.5.4/docs/Network-HTTP-Client-Internal.html#t:Response" rel="nofollow noreferrer">exports the constructor</a>.</p>