Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

0.9 #139

Merged
merged 0 commits into from

2 participants

@sopvop

forgot one file

src/Snap/Internal/Http/Types.hs
((16 lines not shown))
+ POST == POST = True
+ POST == Method "POST" = True
+ PUT == PUT = True
+ PUT == Method "PUT" = True
+ DELETE == DELETE = True
+ DELETE == Method "DELETE" = True
+ TRACE == TRACE = True
+ TRACE == Method "TRACE" = True
+ OPTIONS == OPTIONS = True
+ OPTIONS == Method "OPTIONS" = True
+ CONNECT == CONNECT = True
+ CONNECT == Method "CONNECT" = True
+ PATCH == PATCH = True
+ PATCH == Method "PATCH" = True
+ Method a == Method b = a == b
+ m@(Method _) == other = other == m
@gregorycollins Owner

It would be nice if this were vertically aligned better (i.e. the "==" and the "=" all in the same column) -- that's a "snap style" peculiarity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@sopvop sopvop merged commit 4e050a3 into snapframework:0.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 0 additions and 0 deletions.
Something went wrong with that request. Please try again.