<commit_before>--------------------------------------------------------------------------------
-- |
-- Module      : Network.HTTP.Server
-- Copyright   : (c) Galois, Inc. 2007, 2008
-- License     : BSD3
--
-- Maintainer  : <EMAIL>
-- Stability   : provisional
-- Portability :
--

module Network.HTTP.Server(Handler,server) where

import Network.HTTP.Server.Utils
import Network.HTTP.Server.Logger
import Network.HTTP.Server.Response

import Prelude hiding (catch)
#ifdef _OS_UNIX
import qualified System.Posix.Signals as P
                        (installHandler,sigPIPE,Handler(Ignore))
#endif
import Network.Socket
import Network.BSD
import Network.HTTP
import Network.URI
import Network.URL
import Control.Concurrent(forkIO)<commit_msg>Re-export some useful functionality from the HTTP library<commit_after>--------------------------------------------------------------------------------
-- |
-- Module      : Network.HTTP.Server
-- Copyright   : (c) Galois, Inc. 2007, 2008
-- License     : BSD3
--
-- Maintainer  : <EMAIL>
-- Stability   : provisional
-- Portability :
--

module Network.HTTP.Server
  ( server, Handler
  , module HTTP.Exports
  , module Network.HTTP.Server.Response
  ) where

-- Re-exported for convenince
import Network.HTTP.Headers as HTTP.Exports
import Network.HTTP as HTTP.Exports
      (Request(..), Response(..), RequestMethod(..))

import Network.HTTP.Server.Utils
import Network.HTTP.Server.Logger
import Network.HTTP.Server.Response

import Prelude hiding (catch)
#ifdef _OS_UNIX
import qualified System.Posix.Signals as P
                        (installHandler,sigPIPE,Handler(Ignore))
#endif
import Network.Socket
import Network.BSD
import Network.HTTP
import Network.URI
import Network.URL
import Control.Concurrent(forkIO)
{'fraction_non_alphanumeric': 0.18877551020408162, 'fraction_numerical': 0.01020408163265306, 'mean_word_length': 2.4007707129094413, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2844424', 'n_tokens_mistral': 500, 'n_tokens_neox': 467, 'n_words': 126}