2012-12-20 02:23:04 +00:00
|
|
|
# Created by: Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>
|
The HTTP package supports client-side web programming in Haskell. It lets
you set up HTTP connections, transmitting requests and processing the
responses coming back, all from within the comforts of Haskell. It's
dependent on the network package to operate, but other than that, the
implementation is all written in Haskell.
A basic API for issuing single HTTP requests + receiving responses is
provided. On top of that, a session-level abstraction is also on offer
(the BrowserAction monad); it taking care of handling the management of
persistent connections, proxies, state (cookies) and authentication
credentials required to handle multi-step interactions with a web server.
The representation of the bytes flowing across is extensible via the use
of a type class, letting you pick the representation of requests and
responses that best fits your use. Some pre-packaged, common instances
are provided for you (ByteString, String.)
WWW: http://projects.haskell.org/http/
PR: ports/142178
Submitted by: Jacula Modyun <jacula(at)gmail.com>
2010-01-02 23:04:15 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= HTTP
|
- Update The Glorious Glasgow Haskell Compiler to version 7.6.3
- Update Haskell Platform to version 2013.2.0.0
Please note that port revisions for all the Haskell ports without version
changes are bumped.
Some highlights of the update:
- Fix PDF generation for pandoc [1]
- From now on, PREFIX/{lib,share,share/doc}/cabal/ghc-GHC_VERSION are used for
hs- ports (Cabal packages) as prefixes to avoid problems when upgrading with
portmaster(8) [2]
- Experimental support for LLVM-based code generation (disabled by default)
- Many simplifications, refactoring in bsd.cabal.mk
New ports (11):
devel/hs-asn1-types 0.1.3
devel/hs-data-default-class 0.0.1
devel/hs-data-default-instances-base 0.0.1
devel/hs-data-default-instances-containers 0.0.1
devel/hs-data-default-instances-dlist 0.0.1
devel/hs-data-default-instances-old-locale 0.0.1
devel/hs-extensible-exceptions 0.1.1.4
devel/hs-mmorph 1.0.0
devel/hs-quickcheck-io 0.1.0
x11-toolkits/hs-GLURaw 1.3.0.0
x11-toolkits/hs-OpenGLRaw 1.3.0.0
Updated ports (104):
archivers/hs-zlib 0.5.4.0_1 --> 0.5.4.1
databases/hs-persistent 1.1.5.1 --> 1.2.0.1
databases/hs-persistent-sqlite 1.1.5 --> 1.2.0
databases/hs-persistent-template 1.1.2.4 --> 1.2.0
devel/hs-HUnit 1.2.5.1_1 --> 1.2.5.2
devel/hs-IORefCAS 0.2_3 --> 0.2.0.1
devel/hs-MonadRandom 0.1.8 --> 0.1.9
devel/hs-QuickCheck 2.5.1.1_1 --> 2.6
devel/hs-abstract-deque 0.1.6_1 --> 0.2
devel/hs-alex 3.0.2_1 --> 3.0.5
devel/hs-async 2.0.1.3_1 --> 2.0.1.4
devel/hs-basic-prelude 0.3.4.0 --> 0.3.5.0
devel/hs-blaze-builder 0.3.1.0_4 --> 0.3.1.1
devel/hs-byteorder 1.0.3_4 --> 1.0.4
devel/hs-cabal-install 0.14.0_4 --> 1.16.0.2
devel/hs-classy-prelude 0.5.3 --> 0.5.7
devel/hs-cmdargs 0.10.2 --> 0.10.3
devel/hs-conduit 1.0.2 --> 1.0.5
devel/hs-data-default 0.5.0_1 --> 0.5.3
devel/hs-fsnotify 0.0.6 --> 0.0.11
devel/hs-generic-deriving 1.4.0 --> 1.5.0
devel/hs-git-annex 4.20130323_1 --> 4.20130601
devel/hs-haddock 2.11.0_1 --> 2.13.2
devel/hs-hashable 1.2.0.5 --> 1.1.2.5,1
devel/hs-hlint 1.8.43 --> 1.8.45
devel/hs-hspec 1.4.4 --> 1.5.4
devel/hs-hspec-expectations 0.3.0.3_1 --> 0.3.2
devel/hs-largeword 1.0.4 --> 1.0.5
devel/hs-lens 3.8.7.3 --> 3.9.0.2
devel/hs-lifted-base 0.2.0.2 --> 0.2.0.5
devel/hs-monad-control 0.3.1.4_1 --> 0.3.2.1
devel/hs-monad-logger 0.3.0.1 --> 0.3.1.1
devel/hs-monad-par 0.3.4.1 --> 0.3.4.2
devel/hs-pool-conduit 0.1.1_1 --> 0.1.2
devel/hs-profunctors 3.3 --> 3.3.0.1
devel/hs-reflection 1.1.7 --> 1.3.2
devel/hs-resourcet 0.4.5 --> 0.4.7.1
devel/hs-show 0.5 --> 0.6
devel/hs-split 0.2.1.1_1 --> 0.2.2
devel/hs-stm 2.4_1 --> 2.4.2
devel/hs-syb 0.3.7_1 --> 0.4.0
devel/hs-tagged 0.4.4_1 --> 0.6
devel/hs-text 0.11.2.3_1 --> 0.11.3.1
devel/hs-unix-compat 0.4.1.0 --> 0.4.1.1
devel/hs-unix-time 0.1.5 --> 0.1.8
devel/hs-unordered-containers 0.2.3.0 --> 0.2.3.1
devel/hs-utility-ht 0.0.8_3 --> 0.0.9
devel/hs-uuagc 0.9.42.2_3 --> 0.9.42.3
devel/hs-uuid 1.2.9 --> 1.2.13
devel/hs-void 0.5.11 --> 0.6
math/hs-NumInstances 1.2 --> 1.3
math/hs-comonad-transformers 3.0.1_1 --> 3.0.2
math/hs-semigroups 0.9 --> 0.9.1
math/hs-statistics 0.10.2.0_2 --> 0.10.3.1
net/hs-network 2.3.1.0_1 --> 2.4.1.2
net/hs-publicsuffixlist 0.0.3 --> 0.1
net/hs-socks 0.5.0 --> 0.5.1
security/hs-certificate 1.3.5_1 --> 1.3.7
security/hs-cipher-aes 0.1.7 --> 0.1.8
security/hs-clientsession 0.8.1_1 --> 0.9
security/hs-crypto-api 0.11 --> 0.12.1
security/hs-crypto-conduit 0.5.0 --> 0.5.2
security/hs-crypto-pubkey 0.1.2_1 --> 0.1.3
security/hs-crypto-pubkey-types 0.2.0_1 --> 0.3.2
security/hs-cryptocipher 0.4.0_1 --> 0.5.0
security/hs-cryptohash 0.8.3_1 --> 0.9.0
security/hs-skein 0.1.0.12 --> 1.0.3
textproc/hs-HaXml 1.23.3_2 --> 1.24
textproc/hs-attoparsec-conduit 1.0.0 --> 1.0.1
textproc/hs-blaze-html 0.6.0.0 --> 0.6.1.1
textproc/hs-blaze-markup 0.5.1.4 --> 0.5.1.5
textproc/hs-case-insensitive 1.0 --> 1.0.0.2
textproc/hs-highlighting-kate 0.5.3.8 --> 0.5.3.9
textproc/hs-hs-bibutils 4.17 --> 5.0
textproc/hs-polyparse 1.8_3 --> 1.9
textproc/hs-texmath 0.6.1.3 --> 0.6.1.5
textproc/hs-xml 1.3.12_4 --> 1.3.13
textproc/hs-yaml 0.8.2.3 --> 0.8.2.4
www/hs-HTTP 4000.2.5_1 --> 4000.2.8
www/hs-cgi 3001.1.7.4_6,1 --> 3001.1.7.5,1
www/hs-hamlet 1.1.6.3 --> 1.1.7.1
www/hs-happstack-server 7.1.7 --> 7.1.7.1
www/hs-heist 0.11.1 --> 0.12.0
www/hs-http-conduit 1.9.0 --> 1.9.3
www/hs-http-reverse-proxy 0.1.1.3 --> 0.1.1.6
www/hs-shakespeare 1.0.3.1 --> 1.0.5
www/hs-shakespeare-css 1.0.3 --> 1.0.5.1
www/hs-shakespeare-js 1.1.2.1 --> 1.1.4
www/hs-snap 0.11.2 --> 0.12.0
www/hs-wai-extra 1.3.2.4 --> 1.3.4
www/hs-wai-test 1.3.0.4 --> 1.3.1
www/hs-warp 1.3.7.4 --> 1.3.8.1
www/hs-yesod 1.1.9.2 --> 1.2.0.1
www/hs-yesod-auth 1.1.5.3 --> 1.2.0
www/hs-yesod-core 1.1.8.2 --> 1.2.0.4
www/hs-yesod-form 1.2.1.3 --> 1.3.0
www/hs-yesod-persistent 1.1.0.1_1 --> 1.2.0
www/hs-yesod-platform 1.1.8 --> 1.2.0.1
www/hs-yesod-routes 1.1.2 --> 1.2.0
www/hs-yesod-static 1.1.2.2 --> 1.2.0
www/hs-yesod-test 0.3.5 --> 1.2.0
x11-toolkits/hs-GLUT 2.1.2.1_7,1 --> 2.4.0.0,1
x11-toolkits/hs-OpenGL 2.2.3.1_4,1 --> 2.8.0.0,1
x11/hs-xmobar 0.16_2 --> 0.17
Removed ports (2):
www/hs-yesod-default 1.1.3.2
www/hs-yesod-json 1.1.2.1
PR: ports/179146 [1]
Requested by: Omar Thameen <omar@biglist.com> [1]
Reported by: sperber, bapt [2]
Tested by: sperber [2]
Obtained from: FreeBSD Haskell
2013-06-04 18:53:40 +00:00
|
|
|
PORTVERSION= 4000.2.8
|
Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
- #14669: Fixed extraction of CC from gmp.h.
- Fixed case of intermediate zero real or imaginary part in mpc_fma,
found by hydra with GMP_CHECK_RANDOMIZE=1346362345.
This is on top of the following changes from version 1.0
- Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
invariant sections) for the documentation.
- 100% of all lines are covered by tests
- Renamed functions
. mpc_mul_2exp to mpc_mul_2ui
. mpc_div_2exp to mpc_div_2ui
- 0^0, which returned (NaN,NaN) previously, now returns (1,+0).
- Removed compatibility with K&R compilers, which was untestable due
to lack of such compilers.
- New functions
. mpc_log10
. mpc_mul_2si, mpc_div_2si
- Speed-ups
. mpc_fma
- Bug fixes
. mpc_div and mpc_norm now return a value indicating the effective
rounding direction, as the other functions.
. mpc_mul, mpc_sqr and mpc_norm now return correct results even if
there are over- or underflows during the computation.
. mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
infinite part and equals output variable is corrected.
. mpc_fr_sub: Wrong return value for imaginary part is corrected.
Convert to the new LIB_DEPENDS standard and remove hard-coded
.so versions from a couple of dependent ports.
Bump PORTREVISIONS of all dependent ports.
PR: 183141
Approved by: portmgr (bdrewery)
2013-10-26 00:52:33 +00:00
|
|
|
PORTREVISION= 1
|
The HTTP package supports client-side web programming in Haskell. It lets
you set up HTTP connections, transmitting requests and processing the
responses coming back, all from within the comforts of Haskell. It's
dependent on the network package to operate, but other than that, the
implementation is all written in Haskell.
A basic API for issuing single HTTP requests + receiving responses is
provided. On top of that, a session-level abstraction is also on offer
(the BrowserAction monad); it taking care of handling the management of
persistent connections, proxies, state (cookies) and authentication
credentials required to handle multi-step interactions with a web server.
The representation of the bytes flowing across is extensible via the use
of a type class, letting you pick the representation of requests and
responses that best fits your use. Some pre-packaged, common instances
are provided for you (ByteString, String.)
WWW: http://projects.haskell.org/http/
PR: ports/142178
Submitted by: Jacula Modyun <jacula(at)gmail.com>
2010-01-02 23:04:15 +00:00
|
|
|
CATEGORIES= www haskell
|
|
|
|
|
- Pass maintainership to haskell@FreeBSD.org:
audio/hs-ALUT, audio/hs-OpenAL, benchmarks/hs-criterion
converters/hs-json, devel/hs-DeepArrow, devel/hs-FileManip
devel/hs-MemoTrie, devel/hs-MissingH, devel/hs-MonadCatchIO-mtl
devel/hs-ObjectName, devel/hs-QuickCheck, devel/hs-StateVar
devel/hs-Tensor, devel/hs-TypeCompose, devel/hs-arrows
devel/hs-checkers, devel/hs-convertible, devel/hs-datetime
devel/hs-deepseq, devel/hs-fgl, devel/hs-ghc-mtl, devel/hs-ghc-paths
devel/hs-ghc-paths-docs, devel/hs-haskeline
devel/hs-haskell-src-exts, devel/hs-hint, devel/hs-hoogle
devel/hs-hslogger, devel/hs-mmap, devel/hs-mueval, devel/hs-reactive
devel/hs-readline, devel/hs-safe, devel/hs-show, devel/hs-smallcheck
devel/hs-split, devel/hs-testpack, devel/hs-transformers
devel/hs-unamb, devel/hs-uniplate, devel/hs-unix-compat
devel/hs-utility-ht, devel/hs-uuagc, devel/hs-uulib
devel/hs-uvector, devel/hs-uvector-algorithms, graphics/hs-HGL
lang/hs-brainfuck, lang/hs-unlambda, mail/hs-mime, math/hs-Agda
math/hs-Agda-executable, math/hs-category-extras, math/hs-erf
math/hs-mwc-random, math/hs-probability, math/hs-statistics
math/hs-vector-space, print/hs-hscolour, print/hs-hscolour-docs
science/hs-bio, textproc/hs-Diff, textproc/hs-feed
textproc/hs-tagsoup, textproc/hs-texmath, textproc/hs-xml
www/hs-HTTP, www/hs-cgi, www/hs-fastcgi, www/hs-http-server
www/hs-oeis, www/hs-scgi, www/hs-url, x11-toolkits/hs-GLURaw
x11-toolkits/hs-OpenGLRaw
Approved by: pgj (mentor)
2010-05-26 11:18:46 +00:00
|
|
|
MAINTAINER= haskell@FreeBSD.org
|
- Update The Glorious Glasgow Haskell Compiler to version 7.6.3
- Update Haskell Platform to version 2013.2.0.0
Please note that port revisions for all the Haskell ports without version
changes are bumped.
Some highlights of the update:
- Fix PDF generation for pandoc [1]
- From now on, PREFIX/{lib,share,share/doc}/cabal/ghc-GHC_VERSION are used for
hs- ports (Cabal packages) as prefixes to avoid problems when upgrading with
portmaster(8) [2]
- Experimental support for LLVM-based code generation (disabled by default)
- Many simplifications, refactoring in bsd.cabal.mk
New ports (11):
devel/hs-asn1-types 0.1.3
devel/hs-data-default-class 0.0.1
devel/hs-data-default-instances-base 0.0.1
devel/hs-data-default-instances-containers 0.0.1
devel/hs-data-default-instances-dlist 0.0.1
devel/hs-data-default-instances-old-locale 0.0.1
devel/hs-extensible-exceptions 0.1.1.4
devel/hs-mmorph 1.0.0
devel/hs-quickcheck-io 0.1.0
x11-toolkits/hs-GLURaw 1.3.0.0
x11-toolkits/hs-OpenGLRaw 1.3.0.0
Updated ports (104):
archivers/hs-zlib 0.5.4.0_1 --> 0.5.4.1
databases/hs-persistent 1.1.5.1 --> 1.2.0.1
databases/hs-persistent-sqlite 1.1.5 --> 1.2.0
databases/hs-persistent-template 1.1.2.4 --> 1.2.0
devel/hs-HUnit 1.2.5.1_1 --> 1.2.5.2
devel/hs-IORefCAS 0.2_3 --> 0.2.0.1
devel/hs-MonadRandom 0.1.8 --> 0.1.9
devel/hs-QuickCheck 2.5.1.1_1 --> 2.6
devel/hs-abstract-deque 0.1.6_1 --> 0.2
devel/hs-alex 3.0.2_1 --> 3.0.5
devel/hs-async 2.0.1.3_1 --> 2.0.1.4
devel/hs-basic-prelude 0.3.4.0 --> 0.3.5.0
devel/hs-blaze-builder 0.3.1.0_4 --> 0.3.1.1
devel/hs-byteorder 1.0.3_4 --> 1.0.4
devel/hs-cabal-install 0.14.0_4 --> 1.16.0.2
devel/hs-classy-prelude 0.5.3 --> 0.5.7
devel/hs-cmdargs 0.10.2 --> 0.10.3
devel/hs-conduit 1.0.2 --> 1.0.5
devel/hs-data-default 0.5.0_1 --> 0.5.3
devel/hs-fsnotify 0.0.6 --> 0.0.11
devel/hs-generic-deriving 1.4.0 --> 1.5.0
devel/hs-git-annex 4.20130323_1 --> 4.20130601
devel/hs-haddock 2.11.0_1 --> 2.13.2
devel/hs-hashable 1.2.0.5 --> 1.1.2.5,1
devel/hs-hlint 1.8.43 --> 1.8.45
devel/hs-hspec 1.4.4 --> 1.5.4
devel/hs-hspec-expectations 0.3.0.3_1 --> 0.3.2
devel/hs-largeword 1.0.4 --> 1.0.5
devel/hs-lens 3.8.7.3 --> 3.9.0.2
devel/hs-lifted-base 0.2.0.2 --> 0.2.0.5
devel/hs-monad-control 0.3.1.4_1 --> 0.3.2.1
devel/hs-monad-logger 0.3.0.1 --> 0.3.1.1
devel/hs-monad-par 0.3.4.1 --> 0.3.4.2
devel/hs-pool-conduit 0.1.1_1 --> 0.1.2
devel/hs-profunctors 3.3 --> 3.3.0.1
devel/hs-reflection 1.1.7 --> 1.3.2
devel/hs-resourcet 0.4.5 --> 0.4.7.1
devel/hs-show 0.5 --> 0.6
devel/hs-split 0.2.1.1_1 --> 0.2.2
devel/hs-stm 2.4_1 --> 2.4.2
devel/hs-syb 0.3.7_1 --> 0.4.0
devel/hs-tagged 0.4.4_1 --> 0.6
devel/hs-text 0.11.2.3_1 --> 0.11.3.1
devel/hs-unix-compat 0.4.1.0 --> 0.4.1.1
devel/hs-unix-time 0.1.5 --> 0.1.8
devel/hs-unordered-containers 0.2.3.0 --> 0.2.3.1
devel/hs-utility-ht 0.0.8_3 --> 0.0.9
devel/hs-uuagc 0.9.42.2_3 --> 0.9.42.3
devel/hs-uuid 1.2.9 --> 1.2.13
devel/hs-void 0.5.11 --> 0.6
math/hs-NumInstances 1.2 --> 1.3
math/hs-comonad-transformers 3.0.1_1 --> 3.0.2
math/hs-semigroups 0.9 --> 0.9.1
math/hs-statistics 0.10.2.0_2 --> 0.10.3.1
net/hs-network 2.3.1.0_1 --> 2.4.1.2
net/hs-publicsuffixlist 0.0.3 --> 0.1
net/hs-socks 0.5.0 --> 0.5.1
security/hs-certificate 1.3.5_1 --> 1.3.7
security/hs-cipher-aes 0.1.7 --> 0.1.8
security/hs-clientsession 0.8.1_1 --> 0.9
security/hs-crypto-api 0.11 --> 0.12.1
security/hs-crypto-conduit 0.5.0 --> 0.5.2
security/hs-crypto-pubkey 0.1.2_1 --> 0.1.3
security/hs-crypto-pubkey-types 0.2.0_1 --> 0.3.2
security/hs-cryptocipher 0.4.0_1 --> 0.5.0
security/hs-cryptohash 0.8.3_1 --> 0.9.0
security/hs-skein 0.1.0.12 --> 1.0.3
textproc/hs-HaXml 1.23.3_2 --> 1.24
textproc/hs-attoparsec-conduit 1.0.0 --> 1.0.1
textproc/hs-blaze-html 0.6.0.0 --> 0.6.1.1
textproc/hs-blaze-markup 0.5.1.4 --> 0.5.1.5
textproc/hs-case-insensitive 1.0 --> 1.0.0.2
textproc/hs-highlighting-kate 0.5.3.8 --> 0.5.3.9
textproc/hs-hs-bibutils 4.17 --> 5.0
textproc/hs-polyparse 1.8_3 --> 1.9
textproc/hs-texmath 0.6.1.3 --> 0.6.1.5
textproc/hs-xml 1.3.12_4 --> 1.3.13
textproc/hs-yaml 0.8.2.3 --> 0.8.2.4
www/hs-HTTP 4000.2.5_1 --> 4000.2.8
www/hs-cgi 3001.1.7.4_6,1 --> 3001.1.7.5,1
www/hs-hamlet 1.1.6.3 --> 1.1.7.1
www/hs-happstack-server 7.1.7 --> 7.1.7.1
www/hs-heist 0.11.1 --> 0.12.0
www/hs-http-conduit 1.9.0 --> 1.9.3
www/hs-http-reverse-proxy 0.1.1.3 --> 0.1.1.6
www/hs-shakespeare 1.0.3.1 --> 1.0.5
www/hs-shakespeare-css 1.0.3 --> 1.0.5.1
www/hs-shakespeare-js 1.1.2.1 --> 1.1.4
www/hs-snap 0.11.2 --> 0.12.0
www/hs-wai-extra 1.3.2.4 --> 1.3.4
www/hs-wai-test 1.3.0.4 --> 1.3.1
www/hs-warp 1.3.7.4 --> 1.3.8.1
www/hs-yesod 1.1.9.2 --> 1.2.0.1
www/hs-yesod-auth 1.1.5.3 --> 1.2.0
www/hs-yesod-core 1.1.8.2 --> 1.2.0.4
www/hs-yesod-form 1.2.1.3 --> 1.3.0
www/hs-yesod-persistent 1.1.0.1_1 --> 1.2.0
www/hs-yesod-platform 1.1.8 --> 1.2.0.1
www/hs-yesod-routes 1.1.2 --> 1.2.0
www/hs-yesod-static 1.1.2.2 --> 1.2.0
www/hs-yesod-test 0.3.5 --> 1.2.0
x11-toolkits/hs-GLUT 2.1.2.1_7,1 --> 2.4.0.0,1
x11-toolkits/hs-OpenGL 2.2.3.1_4,1 --> 2.8.0.0,1
x11/hs-xmobar 0.16_2 --> 0.17
Removed ports (2):
www/hs-yesod-default 1.1.3.2
www/hs-yesod-json 1.1.2.1
PR: ports/179146 [1]
Requested by: Omar Thameen <omar@biglist.com> [1]
Reported by: sperber, bapt [2]
Tested by: sperber [2]
Obtained from: FreeBSD Haskell
2013-06-04 18:53:40 +00:00
|
|
|
COMMENT= Library for client-side HTTP
|
The HTTP package supports client-side web programming in Haskell. It lets
you set up HTTP connections, transmitting requests and processing the
responses coming back, all from within the comforts of Haskell. It's
dependent on the network package to operate, but other than that, the
implementation is all written in Haskell.
A basic API for issuing single HTTP requests + receiving responses is
provided. On top of that, a session-level abstraction is also on offer
(the BrowserAction monad); it taking care of handling the management of
persistent connections, proxies, state (cookies) and authentication
credentials required to handle multi-step interactions with a web server.
The representation of the bytes flowing across is extensible via the use
of a type class, letting you pick the representation of requests and
responses that best fits your use. Some pre-packaged, common instances
are provided for you (ByteString, String.)
WWW: http://projects.haskell.org/http/
PR: ports/142178
Submitted by: Jacula Modyun <jacula(at)gmail.com>
2010-01-02 23:04:15 +00:00
|
|
|
|
2011-05-09 05:28:57 +00:00
|
|
|
LICENSE= BSD
|
|
|
|
|
|
|
|
USE_CABAL= mtl network parsec
|
|
|
|
|
2013-09-20 23:36:50 +00:00
|
|
|
NO_STAGE= yes
|
2010-05-12 16:33:59 +00:00
|
|
|
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
|
The HTTP package supports client-side web programming in Haskell. It lets
you set up HTTP connections, transmitting requests and processing the
responses coming back, all from within the comforts of Haskell. It's
dependent on the network package to operate, but other than that, the
implementation is all written in Haskell.
A basic API for issuing single HTTP requests + receiving responses is
provided. On top of that, a session-level abstraction is also on offer
(the BrowserAction monad); it taking care of handling the management of
persistent connections, proxies, state (cookies) and authentication
credentials required to handle multi-step interactions with a web server.
The representation of the bytes flowing across is extensible via the use
of a type class, letting you pick the representation of requests and
responses that best fits your use. Some pre-packaged, common instances
are provided for you (ByteString, String.)
WWW: http://projects.haskell.org/http/
PR: ports/142178
Submitted by: Jacula Modyun <jacula(at)gmail.com>
2010-01-02 23:04:15 +00:00
|
|
|
.include <bsd.port.mk>
|