[erlang-questions] What lib to use for http requests

Mark Nijhof mark.nijhof@REDACTED
Mon Dec 15 20:58:39 CET 2014


Amazing responses, way more then anticipated, thanks :)

-Mark

On Monday, December 15, 2014, Fred Hebert <mononcqc@REDACTED> wrote:

> On 12/15, Loïc Hoguin wrote:
> >
> > The RFC723x ones are much better though, they don't leave much room for
> > interpretation (though some things are still undefined) so
> implementations
> > following them should be much more compatible.
> >
>
> Yes and no. Some features, like dropping support for Header
> line-folding, could mean that if you religiously implemented HTTP/1.1
> RFCs before RFCs 723x, you may suddenly find other HTTP/1.1 servers (who
> also respect their spec, though a newer one) explode on you.
>
> Intuitively, the issue is that HTTP/1.1 has had 3 revisions (or more)
> without a single version number change.
>
> If I want to have a truly flexible client, server, or proxy, I likely
> have to disregard that section of the new RFCs and keep implementing the
> old stuff, at least until the point where people start sending more
> garbage headers preceded by whitespace in practice, to the extent
> Postel's law dictates I should now switch over and pander to currently
> broken clients and servers rather than previously strict and correct
> ones.
>
> Did I mention I really loathe HTTP on this list before?
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED <javascript:;>
> http://erlang.org/mailman/listinfo/erlang-questions
>


-- 
Mark Nijhof
t:   @MarkNijhof <https://twitter.com/MarkNijhof>
s:  marknijhof
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20141215/e064f33a/attachment.htm>


More information about the erlang-questions mailing list