Seeking advice for a couple of issues

"John Derrick" <[email protected]> Wed, 27 Mar 2013 18:41:36 -0400
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <AB3B832A7F034E4E83B15101B1A875A9@BLACKTIP>
This is a multi-part message in MIME format.

--===============5406111299987554306==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0026_01CE2B1A.B670E880"

This is a multi-part message in MIME format.

------=_NextPart_000_0026_01CE2B1A.B670E880
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi All,

I've been working with Http_client to develop a no-frills CouchDb=20
driver. I'm relatively new to OCaml, but have many years of experience=20
with various imperative langs.

I'm looking for help with a couple of issues. My first issue is Basic=20
Authentication. I've noticed that Basic Auth and Basic Auth Session=20
do not include the "Authorization:" header when making GET or PUT=20
requests UNLESS a challenge is received. Is this the expected=20
behavior? Not a serious issue as it's easy to add my own=20
Authorization entry to the header. Apparently CouchDb does not send an =
auth challenge.

The second issue is chunked request performance. When peforming a=20
query against CouchDb (say _all_docs for example) via a GET request,=20
Ocamlnet seems to have issues processing the returned data. CouchDb=20
returns many small blocks of data in chunked format. Processing a=20
collection of 1000 docs can take several minutes. I'm not sure if=20
this relates to the event system performance or socket performance.=20
Does any one know of a solution to this issue?

Thanks to all who contributed to the development of Ocamlnet. It's an=20
impressive collection of work.

Regards,
John
=0A

-------------------------------------------------=0A

=0A

VFEmail.net - http://www.vfemail.net=0A

$14.95 ONETIME Lifetime accounts with Privacy Features!  =0A

15GB disk! No bandwidth quotas!=0A

Commercial and Bulk Mail Options!  =0A


------=_NextPart_000_0026_01CE2B1A.B670E880
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<HTML><HEAD></HEAD>
<BODY dir=3Dltr>
<DIV dir=3Dltr>
<DIV style=3D"FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: =
12pt"><FONT=20
face=3D"Times New Roman">Hi All,<BR><BR>I've been working with =
Http_client to=20
develop a no-frills CouchDb <BR>driver. I'm relatively new to OCaml, but =
have=20
many years of experience <BR>with various imperative langs.<BR><BR>I'm =
looking=20
for help with a couple of issues. My first issue is Basic =
<BR>Authentication.=20
I've noticed that Basic Auth and Basic Auth Session <BR>do not include =
the=20
"Authorization:" header when making GET or PUT <BR>requests UNLESS a =
challenge=20
is received. Is this the expected <BR>behavior? Not a serious issue as =
it's easy=20
to add my own <BR>Authorization entry to the header. Apparently CouchDb =
does not=20
send an auth challenge.<BR><BR>The second issue is chunked request =
performance.=20
When peforming a <BR>query against CouchDb (say _all_docs for example) =
via a GET=20
request, <BR>Ocamlnet seems to have issues processing the returned data. =
CouchDb=20
<BR>returns many small blocks of data in chunked format. Processing a=20
<BR>collection of 1000 docs can take several minutes. I'm not sure if =
<BR>this=20
relates to the event system performance or socket performance. <BR>Does =
any one=20
know of a solution to this issue?<BR><BR>Thanks to all who contributed =
to the=20
development of Ocamlnet. It's an <BR>impressive collection of=20
work.<BR><BR>Regards,<BR>John</FONT></DIV></DIV>
<br>=
<br/>=0A
-------------------------------------------------<br/>=0A
=0A
<a href=3D"http://www.vfemail.net">VFEmail.net</a><br/>=0A
$14.95 ONETIME Lifetime accounts with Privacy Features!<br/>=0A
No Bandwidth Quotas!&nbsp;&nbsp; 15GB disk space! <br/>=0A
Commercial and Bulk Mail Options! <br/>=0A
<br>=
</BODY></HTML>

------=_NextPart_000_0026_01CE2B1A.B670E880--



--===============5406111299987554306==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
--===============5406111299987554306==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ocamlnet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel

--===============5406111299987554306==--