Re: http_get does not retrieve page content

new topic     » goto parent     » topic index » view thread      » older message » newer message

Step 1: Please test the offending web sites using the old eunet. I suspect you will find the same behavior. Step 2: Identify what characters are being used as line terminators in place of the standard.

Trim will not work in this case, because the entire document, headers plus body, is being sent as one large block of data (or in some cases, multiple n-byte blocks). The program then needs to parse each of the header lines out of that block, and then return what's left as the body of the document. Trim will only remove null characters and white space from the beginning and end of the entire transmission. It won't help with the parsing.

I made the decision to make eunet strictly standards compliant until enough use cases could be identified that violated the standard to program for the exception. It's all open source. You are welcome to add the additional code you need to solve your problem.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu