Discussion:
About libhttp
Chris Hawks
2002-08-14 15:50:49 UTC
Permalink
Mr.
I compiled the vieml-0.21 flnx-0.16 and libhttp-0.5 in term of the method
.....
http.cpp: In method 'int HTTPConnection::getURL(HTTPConnection::HTTPRequest
*)'
http.h:74:too few arguments to function "HTTP_Response http_request(char
*,char *,HTTP_Method,long unsigned int)"
libhttp-0.3 only had three parameters, but, it looks like libhttp-0.5 has
four. I haven't woked with either viewml or libhttp in a while.
The best thing is to ask Alan (he is on the list, I think) the author of
libhttp.

--re: About libhttp
Chris

Christopher R. Hawks Software Engineer
Syscon Plantstar a Division of Syscon International
-------------------------------------------------------------------------
MS-DOS is the worst text adventure game I have ever played:
poor vocabulary, weak parser and a boring storyline.
--Ignatios Souvatzis





#############################################################
This message is sent to you because you are subscribed to
the mailing list <viewml-***@viewml.com>.
To unsubscribe, E-mail to: <viewml-devel-***@viewml.com>
To switch to the DIGEST mode, E-mail to <viewml-devel-***@viewml.com>
To switch to the INDEX mode, E-mail to <viewml-devel-***@viewml.com>
Send administrative queries to <viewml-devel-***@viewml.com>
Alan DuBoff
2002-08-15 05:57:59 UTC
Permalink
Post by Chris Hawks
libhttp-0.3 only had three parameters, but, it looks like libhttp-0.5 has
four. I haven't woked with either viewml or libhttp in a while.
The best thing is to ask Alan (he is on the list, I think) the author of
libhttp.
Yes, there's an additional flag to add the ability for content type to be
passed in to the function. This gives the ability to pass in a content type
and specify HFLAG_POST_USER_TYPE, so that a content type will not be
concatenated to the request. Currently if HFLAG_POST_USER_TYPE is not passed
in, it will concatenate the content type of application/x-www-form-urlencoded.

To use the library with your previous patch, just pass in HFLAG_NONE for the
additional parameter.

This is kinda cool, because you can specify a content type, depending on what
you're sending and/or what your server is expecting. Jean Tourrilhes actually
sent that patch in, I'm not exactly sure what he was doing with it, but he
was doing something at HP I think and needed to pass the content type in. You
might recognize his name, he has maintained a linux wireless page for quite
some time and most famous for the wireless extentions, a handy set of tools
that allow you to configure and work with wireless cards.
--
Alan DuBoff
Software Orchestration, Inc.
GPG: 1024D/B7A9EBEE 5E00 57CD 5336 5E0B 288B 4126 0D49 0D99 B7A9 EBEE


#############################################################
This message is sent to you because you are subscribed to
the mailing list <viewml-***@viewml.com>.
To unsubscribe, E-mail to: <viewml-devel-***@viewml.com>
To switch to the DIGEST mode, E-mail to <viewml-devel-***@viewml.com>
To switch to the INDEX mode, E-mail to <viewml-devel-***@viewml.com>
Send administrative queries to <viewml-devel-***@viewml.com>
Continue reading on narkive:
Loading...