Re: [snap] How to handle TerminateSessionException sendfile?

2017-06-08 Thread Gregory Collins
mimeType = fileType myMimeTypes (takeFileName fp) > isVideo = B8.take (length ("video" :: String)) mimeType == "video" > > > > Any pointers would be appreicated. > Best wishes, > Henry Laxen > > -- > > --- > You received this message

Re: [snap] Long polling in snap

2017-12-18 Thread Gregory Collins
Here's a working example on 0.9 using stm channels from the workshop I gave at ICFP 2011: https://github.com/snapframework/cufp2011 When doing long polling, all of the work happens in the output handler; for 1.0 this is the same but we use io-streams now instead of an Enumerator. You need to get t

Re: [snap] Snap Hspec testing - routes in snaplets

2018-02-22 Thread Gregory Collins
ty. > > Thanks, Chris > > -- > > --- > You received this message because you are subscribed to the Google Groups > "Snap Framework" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to snap_framework+unsubscr...@go

Re: [snap] Redirect to https

2018-05-22 Thread Gregory Collins
quot;Snap Framework" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to snap_framework+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Gregory Collins -- --- You received this message

Re: [snap] Using ssl with multiple domains in snap-server

2019-02-11 Thread Gregory Collins
t around this? Any pointers will > be greatly appreciated. > > Best wishes, > Henry Laxen > > -- > > --- > You received this message because you are subscribed to the Google Groups > "Snap Framework" group. > To unsubscribe from this group and stop receivi