[Haskell-cafe] How to use http-enumerator with hoauth?

Michael Snoyman michael at snoyman.com
Wed Feb 16 18:36:05 CET 2011


On Wed, Feb 16, 2011 at 7:20 PM, Jeremy Fitzhardinge <jeremy at goop.org> wrote:
> On 02/16/2011 02:57 AM, Michael Snoyman wrote:
>> I have yet to write to the mailing lists about it, but likely there
>> will be a rename/expansion based on a recommendation by Johan.
>> Basically, we need two datatypes: Ascii and CIAscii. I'm not sure if
>> that addresses your questions though.
>
> Mostly it was a semantic niggle that bytestrings don't have a notion of
> case, so CI- is meaningless.  CIAscii at least makes some sense.  Does
> Text support the notion of case-insensitive types?

No, I don't think so. Even if it did, it would be inappropriate to use
Text, since a Text value can contain any unicode point, while HTTP
headers cannot.

>> I think there's a big overlap between third-party authentication and
>> access to protected resources. Check our the Facebook module: in
>> addition to just "login" support, it allows access to the graph API
>> using the secure token Facebook gives back. I don't think having extra
>> functionality beyond pure authentication should be a reason to exclude
>> hoauth from authenticate.
>
> OK.
>
>    J
>
>



More information about the Haskell-Cafe mailing list