Ticket #3 (assigned enhancement)

Opened 9 years ago

Last modified 8 years ago

Expose HTTP header parsing

Reported by: bringert Owned by: sof
Priority: minor Milestone:
Component: component1 Version:
Keywords: Cc: newsham@…


---------- Forwarded message ----------
From: Tim Newsham <newsham@lava.net>
Date: Wed, Sep 3, 2008 at 11:03 PM
Subject: Network.HTTP
To: bjorn@bringert.net

I'm looking for a library that can parse HTTP messages.  I noticed
that Network.HTTP, which you maintain, generates and parses HTTP
messages but only the generator is exposed externally (through the
Show interface).  Would it be possible to make a version which
exposes parsing as well?  For example, through a Read interface...

Tim Newsham

Change History

Changed 8 years ago by sof

  • owner changed from somebody to sof
  • status changed from new to assigned

Changed 8 years ago by sof

The HTTP-4000.x line of releases provides the following exports from Network.HTTP:

[String] -> Result ResponseData?
[String] -> Result RequestData?

along with (which HTTP-3001.x releases also support):

[String] -> Result [Header]

[I'll leave the ticket as non-fixed, pending feedback]

Note: See TracTickets for help on using tickets.