Http 1.1

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Http 1.1

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:17 pm

by Michael Hill >> Tue, 11 Mar 2008 3:23:49 GMT

Afternoon,

I have a few questions with regards to reading an incoming HTTP 1.1 stream in Jade.

The problem we have is with chunked data. With the reading of the specification that we have done, we see that if it is chunked then it is returned in 2 parts. 1st is the length of the data, and 2nd is the data itself. However some of the data which we are getting is only coming back in one part. (Length and data together) As yet we haven't found any documentation to say this is the way it works. Is anyone able to confirm this?

We are connecting to G2B PPSR. Does anyone else out there connect to G2B PPSR using Jade. Are there any Classes, or 3rd Party Products that we should be using form HTTP.

Michael

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Http 1.1

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:17 pm

by Alan >> Tue, 11 Mar 2008 9:01:11 GMT

You should still be able to read the stream as 2 separate reads - the first for the length (either 4 or 8 bytes - can't remember which), the second based upon the length value you have just received.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Http 1.1

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:17 pm

by Michael Hill >> Fri, 14 Mar 2008 3:28:43 GMT

Cheers Alan,

Now have it sorted.

Michael


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 23 guests

cron