Just a follow-up on this.
Apparently "Content-Transfer-Encoding" is not a valid http header. (It may
appear in parts of a multipart form). So I should withdraw the claim that this
is a bug in libUrl.
from rfc 2068:
---
19.4.4 No Content
On 9 Oct 2012, at 10:12, Mark Schonewille
wrote:
> Hi Monte,
>
> I think you're right. The libURLLastRHHeaders return:
>
> HTTP/1.1 200 OK
> Date: Tue, 09 Oct 2012 08:52:49 GMT
> Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.8
> mod_fastcgi/2.4.2
> X-Powered-By: PH
Hi Monte,
I think you're right. The libURLLastRHHeaders return:
HTTP/1.1 200 OK
Date: Tue, 09 Oct 2012 08:52:49 GMT
Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.8
mod_fastcgi/2.4.2
X-Powered-By: PHP/5.3.8
Content-Transfer-Encoding: text
Transfer-Encoding: chunked
Cont
Thanks Mike,
You're right, the garbage indicates the amount of data. If I use only one echo
command at the end of the PHP script, then I get 1e550, which equals the the
total amount of data. Oddly, I get an additional 2 at the end of the data,
followed by 3 linefeeds and a 0 and 2 more linefeed
Don't you want libURLLastRHHeaders?
On 09/10/2012, at 7:53 PM, Mark Schonewille wrote:
> If I don't set any headers in the PHP script, then the libUrlLastHTTPHeaders
> are:
--
M E R Goulding
Software development services
Bespoke application development for vertical markets
mergExt - There's a
Hi Dave,
If I don't set any headers in the PHP script, then the libUrlLastHTTPHeaders
are:
GET /~user/list.php HTTP/1.1
Host: localhost
User-Agent: Revolution (MacOS)
There is no transfer-encoding header and no content-length header.
If I move the echo command from the repeat loop to the end o
Craig,
First, I tried it without headers and I added them to see if it would solve the
problem.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Use Color Converte
Yes, Hakan, it is a table and not a database. Thanks.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and
On 8 Oct 2012, at 15:58, Mark Schonewille
wrote:
> Exactly every 8001 bytes (or 889 words, which are all different), I get some
> garbage:
>
> 1f41
> A
> B
> [889 times]
> C
> 1f41
> P
> Q
> [889 times]
> R
> etc etc etc
> X
> 1e7d
>
> T
Have you tried just outputting the data with no headers?
JC
On 08/10/2012 15:58, Mark Schonewille wrote:
Hi,
I'm downloading a list of words of 9 characters from a MySQL database using a
PHP script and a put URL command in a LiveCode script. Altogether, there are
approximately 1 lines i
If you access your data via command line. Is it OK then? Then I hope you
instead of "SELECT xword FROM ydatabase" really wants "SELECT xword FROM
YTABLE"? What does your HTTP-headers look like? maybe it's an encoding issue
that somehow garbles LiveCode? I've never seen this issue in LiveCode mys
final 1e7d
represents, if anything, is a mystery (at least to me).
Mike
--- On Mon, 10/8/12, Mark Schonewille wrote:
From: Mark Schonewille
Subject: Put URL and garbage in result from PHP
To: "How to use LiveCode"
Date: Monday, October 8, 2012, 9:58 AM
Hi,
I'm downloading a list of w
number of data bytes left over that don't
fill out the last chunk of 8001.
Why it does that I don't know.
Mike
--- On Mon, 10/8/12, Mark Schonewille wrote:
From: Mark Schonewille
Subject: Put URL and garbage in result from PHP
To: "How to use LiveCode"
Date: Mo
Hi,
I'm downloading a list of words of 9 characters from a MySQL database using a
PHP script and a put URL command in a LiveCode script. Altogether, there are
approximately 1 lines in my list, with one word on each line.
Both the PHP script and the LiveCode script run on Mac OS X. I use a p
14 matches
Mail list logo