]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - Network/HTTP/Lucu/Postprocess.hs
Destroy Data.Eq.Indirect
[Lucu.git] / Network / HTTP / Lucu / Postprocess.hs
index 7157b7d56e9dd14c4dcaa635ce47be599d2d15f6..b31c0ee5ef6bd819498584ed89bc7d036a34b90c 100644 (file)
@@ -47,16 +47,16 @@ abortOnCertainConditions (NI {..})
                    $ cs ("Inappropriate status code for a response: " ∷ Ascii)
                    ⊕ cs resStatus
 
-               when ( resStatus â\89\88 MethodNotAllowed ∧
-                      hasHeader "Allow" res        )
+               when ( resStatus â\89¡ cs MethodNotAllowed ∧
+                      (¬) (hasHeader "Allow" res)     )
                    $ abort'
                    $ cs ("The status was " ∷ Ascii)
                    ⊕ cs resStatus
                    ⊕ cs (" but no \"Allow\" header." ∷ Ascii)
 
-               when ( resStatus â\89\89 NotModified  ∧
-                      isRedirection resStatus  ∧
-                      hasHeader "Location" res )
+               when ( resStatus â\89¢ cs NotModified     ∧
+                      isRedirection resStatus        
+                      (¬) (hasHeader "Location" res) )
                    $ abort'
                    $ cs ("The status code was " ∷ Ascii)
                    ⊕ cs resStatus