[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTTPAPI to SSL Website



Hi Jon,

> By a "cheat sheet" I meant something that might say, for example,
> to do an HTTPS transaction, you do:
> 
> https_init();
> http_get;
> http_post;
> http_close;

A lot of what you do is going to depend on the application.  In your 
situation, you apparently need to first retrieve a web page, then post a 
document...   other situations don't have the same requirement.  Some 
folks only need to do a GET.  Other folks only need a POST.  It's really 
hard to create a "cheat sheet" without taking a particular application 
into account.

In generic terms, if I want to do an HTTPS GET, I have to do this:

    http_url_get();

Not a very useful cheat sheet.  But, you don't need to call https_init() 
unless you want to modify the default SSL behavior.  So I might say 
"HTTPS GET with modified SSL behavior"

    https_init()
    https_url_get()

I dunno... I'm not sure it's all that helpful.  What you have to do with 
HTTPAPI is almost entirely based on what the server requires you to do, 
and that makes it hard to come up with a cheat sheet.  Or -- maybe it's 
just the way my mind works that makes it hard...

> Thanks for your help on this - I really appreciate it. If you need additional
> info or whatever, just let me know.

Can you test the following version of HTTPAPI?
http://www.scottklement.com/httpapi/beta/

This is a copy where I've modified the Cookie routines to re-send the 
cookie name in the same case (upper/lower) that it was received.  I 
don't know if that's the cause of your problem or not, but it's my best 
guess at this point.  Can you try the beta code and let me know if it 
makes any difference?
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------