http-types 0.8.3 → 0.8.4
raw patch · 2 files changed
+7/−46 lines, 2 filesdep ~case-insensitive
Dependency ranges changed: case-insensitive
Files
- Network/HTTP/Types/Header.hs +4/−1
- http-types.cabal +3/−45
Network/HTTP/Types/Header.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE OverloadedStrings, FlexibleInstances, MultiParamTypeClasses, FunctionalDependencies #-}+{-# LANGUAGE OverloadedStrings, FlexibleInstances, MultiParamTypeClasses, FunctionalDependencies, DeriveDataTypeable #-} module Network.HTTP.Types.Header ( -- ** Types@@ -43,6 +43,8 @@ import qualified Data.ByteString as B import qualified Data.CaseInsensitive as CI import Data.ByteString.Char8 () {-IsString-}+import Data.Typeable (Typeable)+import Data.Data (Data) -- | Header type Header = (HeaderName, B.ByteString)@@ -85,6 +87,7 @@ = ByteRangeFrom !Integer | ByteRangeFromTo !Integer !Integer | ByteRangeSuffix !Integer+ deriving (Show, Eq, Ord, Typeable, Data) renderByteRangeBuilder :: ByteRange -> Blaze.Builder renderByteRangeBuilder (ByteRangeFrom from) = Blaze.fromShow from `mappend` Blaze.fromChar '-'
http-types.cabal view
@@ -1,61 +1,28 @@--- http-types.cabal auto-generated by cabal init. For additional--- options, see--- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.--- The name of the package. Name: http-types---- The package version. See the Haskell package versioning policy--- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for--- standards guiding when and how versions should be incremented.-Version: 0.8.3---- A short (one-line) description of the package.+Version: 0.8.4 Synopsis: Generic HTTP types for Haskell (for both client and server code).---- A longer description of the package. Description: Generic HTTP types for Haskell (for both client and server code).---- URL for the project homepage or repository. Homepage: https://github.com/aristidb/http-types---- The license under which the package is released. License: BSD3---- The file containing the license text. License-file: LICENSE---- The package author(s). Author: Aristid Breitkreuz, Michael Snoyman---- An email address to which users can send suggestions, bug reports,--- and patches. Maintainer: aristidb@googlemail.com---- A copyright notice. Copyright: (C) 2011 Aristid Breitkreuz- Category: Network, Web- Build-type: Simple---- Extra files to be distributed with the package, such as examples or--- a README. Extra-source-files: README---- Constraint on the version of Cabal needed to build this package. Cabal-version: >=1.8 Source-repository this type: git location: https://github.com/aristidb/http-types.git- tag: 0.8.3+ tag: 0.8.4 Source-repository head type: git location: https://github.com/aristidb/http-types.git Library- -- Modules exported by the library. Exposed-modules: Network.HTTP.Types Network.HTTP.Types.Header Network.HTTP.Types.Method@@ -63,24 +30,15 @@ Network.HTTP.Types.Status Network.HTTP.Types.URI Network.HTTP.Types.Version-- -- GHC Options. GHC-Options: -Wall- - -- Packages needed in order to build this package. Build-depends: base >= 4 && < 5, bytestring >=0.9.1.5 && <0.11, array >=0.2 && <0.6,- case-insensitive >=0.2 && <1.2,+ case-insensitive >=0.2 && <1.3, blaze-builder >= 0.2.1.4 && < 0.4, text >= 0.11.0.2- - -- Modules not exported by this package. -- Other-modules: - - -- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source. -- Build-tools: - Test-suite runtests main-is: runtests.hs