[web-devel] [Yesod] What is ContentFile's second argument?
Michael Snoyman
michael at snoyman.com
Thu Jun 2 10:29:13 CEST 2011
Sorry, that should be more well documented. "Nothing" means send the
whole file, "Just ..." will specify a piece of the file to send.
Michael
On Thu, Jun 2, 2011 at 11:27 AM, Katsutoshi Itoh <cutsea110 at gmail.com> wrote:
> Hi
>
> Now, I'm converting my yesod app 0.7 to 0.8
>
> I'm facing to the code like this.
>
> return $ RepHtml $ ContentFile path
>
> I looked up ContentFile has 2 arguments, on 0.8.
> the second argument of this is Maybe FilePart.
> If I write this Nothing, what does it mean?
>
> thanks.
>
> _______________________________________________
> web-devel mailing list
> web-devel at haskell.org
> http://www.haskell.org/mailman/listinfo/web-devel
>
More information about the web-devel
mailing list