Proper HTTP GET&POST(cross-platform,chunking etc..)

Share your advanced PureBasic knowledge/code with the community.
User avatar
RichAlgeni
Addict
Addict
Posts: 935
Joined: Wed Sep 22, 2010 1:50 am
Location: Bradenton, FL

Re: Proper HTTP GET&POST(cross-platform,chunking etc..)

Post by RichAlgeni »

tj1010, don't get discouraged, DarkPlayer is Dark for a reason!

Keep striving to become better!

Remember what Tom Hagen said: "it's not personal Sonny, it's just business"
tj1010
Enthusiast
Enthusiast
Posts: 716
Joined: Mon Feb 25, 2013 5:51 pm

Re: Proper HTTP GET&POST(cross-platform,chunking etc..)

Post by tj1010 »

RichAlgeni wrote:tj1010, don't get discouraged, DarkPlayer is Dark for a reason!

Keep striving to become better!

Remember what Tom Hagen said: "it's not personal Sonny, it's just business"
I wrote this cause there was no option. If someone is going to come in and try to compete with such a simple solution, I have enough experience in this field to know to just sit back and watch. I'm still using my solution without a problem, and my code is far easier to understand and modify and no more no less stable than theirs. Also what features they have that mine doesn't are based on formatted strings and zlib for **optional** HTTP features..

It's also known out of the two HTTP compressions that gzip is the most supported...

In the end it's all about support though, this is why I suggest everyone go use theirs. When you find something that breaks their solution mine is here and coded with emphasis on handling fail scenarios and legacy servers. I'll still update and maybe add file support, when I get the time.
User avatar
RichAlgeni
Addict
Addict
Posts: 935
Joined: Wed Sep 22, 2010 1:50 am
Location: Bradenton, FL

Re: Proper HTTP GET&POST(cross-platform,chunking etc..)

Post by RichAlgeni »

Networking will be with us until the zombie apocalypse, so it's only going to benefit everyone to become as proficient as possible with networking code.

Continue adding functionality to yours, take Dark's, and play around with it. Take mine, modify for your style. Take anyone else's here. Add to it, modify it, whatever. If you can work with networks and network data, employers will look at you with googly eyes!
tj1010
Enthusiast
Enthusiast
Posts: 716
Joined: Mon Feb 25, 2013 5:51 pm

Re: Proper HTTP GET&POST(cross-platform,chunking etc..)

Post by tj1010 »

RichAlgeni wrote:Networking will be with us until the zombie apocalypse, so it's only going to benefit everyone to become as proficient as possible with networking code.

Continue adding functionality to yours, take Dark's, and play around with it. Take mine, modify for your style. Take anyone else's here. Add to it, modify it, whatever. If you can work with networks and network data, employers will look at you with googly eyes!

The only things outside of the things mentioned in my response that I can see are needed are SSL and POST file handling. Head and Compression aren't needed, and even if so not in the most incompatible using deflate over gzip.
User avatar
RichAlgeni
Addict
Addict
Posts: 935
Joined: Wed Sep 22, 2010 1:50 am
Location: Bradenton, FL

Re: Proper HTTP GET&POST(cross-platform,chunking etc..)

Post by RichAlgeni »

tj1010
Enthusiast
Enthusiast
Posts: 716
Joined: Mon Feb 25, 2013 5:51 pm

Re: Proper HTTP GET&POST(cross-platform,chunking etc..)

Post by tj1010 »

It's best to use a maintained cross-platform lib for SSL cause there are so many variations of encryption schemes and protocols. OpenSSL has a usable license and very good developers and support.

I'm going to finish this solution up and probably go to a webkit project, or at least encourage one. Almost everything I do needs to run javascript.
Post Reply