Re: About libhttp
Alan DuBoff <[email protected]> Wed, 14 Aug 2002 22:57:59 -0700
| Newsgroups | gmane.comp.web.viewml.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wednesday 14 August 2002 08:50, Chris Hawks wrote: > 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 <[email protected]>. To unsubscribe, E-mail to: <[email protected]> To switch to the DIGEST mode, E-mail to <[email protected]> To switch to the INDEX mode, E-mail to <[email protected]> Send administrative queries to <[email protected]>