on 2014 Oct 26 3:48 PM
Hello, I am testing SQL Anywhere 12.0.1.4104 and 16.0.0.1948 web client procedure. When the length of the parameters exceeds 8191 bytes the following error appears "SQLSTATE=WW052 Error Message : HTTP request failed. Status code '403 Forbidden'" SQL Anywhere 9 version works with parameters length over 1MB. Using HEADER clause to set the Content-Length I can reduse below 8192 bytes but not above. Perhaps this limitation is set in the database and I wonder whether it can be increased.
create or replace procedure "DBA"."test_post"(in "filename" char(256),in "filedata" long varchar) url 'HTTP://www.domain.com/test/test.php' type 'HTTP:POST';
test.php <? $filename = $_POST['filename']; echo "FileName : $filename"; ?>
Try the MaxRequestSize protocol parameter: -xs HTTP(port=<port#>;MaxRequestSize=<size>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.