[slscripters] HTTP_CUSTOM_HEADER in llHTTPRequest not working

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[slscripters] HTTP_CUSTOM_HEADER in llHTTPRequest not working

Marc Adored
Hey guys I am trying to send some custom headers to my PHP script but they don't seem to be working. has anyone been successful in using them? Figured I'd ask here before filing a jira


Here is an example of what I am using:

    http_checkin = llHTTPRequest(base_url + "/checkin", [
                                                            HTTP_CUSTOM_HEADER, "DEVICE_TYPE", deviceType,
                                                            HTTP_CUSTOM_HEADER, "UPDATE_FREQ", (string)updateFrequency
                                                        ], "");


Neither DEVICE_TYPE or UPDATE_FREQ get sent to my PHP script. Also if I just send one set it doesn't come across either.

_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters
Reply | Threaded
Open this post in threaded view
|

Re: [slscripters] HTTP_CUSTOM_HEADER in llHTTPRequest not working

Darien Caldwell-2
The vaild Header types are listed here: http://en.wikipedia.org/wiki/List_of_HTTP_headers
 
If you were thinking of using headers to place arbitrary data, I don't believe that works. And not all of the standard Header values are supported, as mentioned on the Wiki page, for security reasons.


On Fri, Oct 11, 2013 at 8:45 PM, Marc Adored <[hidden email]> wrote:
Hey guys I am trying to send some custom headers to my PHP script but they don't seem to be working. has anyone been successful in using them? Figured I'd ask here before filing a jira


Here is an example of what I am using:

    http_checkin = llHTTPRequest(base_url + "/checkin", [
                                                            HTTP_CUSTOM_HEADER, "DEVICE_TYPE", deviceType,
                                                            HTTP_CUSTOM_HEADER, "UPDATE_FREQ", (string)updateFrequency
                                                        ], "");


Neither DEVICE_TYPE or UPDATE_FREQ get sent to my PHP script. Also if I just send one set it doesn't come across either.

_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters



_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters
Reply | Threaded
Open this post in threaded view
|

Re: [slscripters] HTTP_CUSTOM_HEADER in llHTTPRequest not working

Kuraiko Yoshikawa
Mhh custom headers with custom data should work... up to 8 custom headers with a max length of 253 characters for each name+value combination

quick 'n' dirty... but this works for me:
LSL:
key http_request_id;
default
{

    touch_start(integer total_number)
    {
        http_request_id = llHTTPRequest("http://kuraiko.timesfactory.com/test.php", [
            HTTP_CUSTOM_HEADER, "DEVICE_TYPE", "TestBox",
            HTTP_CUSTOM_HEADER, "UPDATE_FREQ", "5.10"
        ], "");
    }
   
    http_response(key request_id, integer status, list metadata, string body)
    {
        if (request_id == http_request_id) {
            llOwnerSay(body);
        }
    }
}


----

PHP:
<?php
    echo 'Device Type: ' . $_SERVER["HTTP_DEVICE_TYPE"] . "\nUpdate Freq: " . $_SERVER["HTTP_UPDATE_FREQ"]
?>


or if you are running apache you can use $headers = apache_request_headers(); and access the headers with $headers['DEVICE_TYPE'] and $headers['UPDATE_FREQ']
(apache_request_headers is case sensitive... $_SERVER is always uppercase and adds HTTP_ as prefix to the header name)

---

and the in world output is:
[22:16] Object: Device Type: TestBox
Update Freq: 5.10


On 12.10.2013 06:17, Darien Caldwell wrote:
The vaild Header types are listed here: http://en.wikipedia.org/wiki/List_of_HTTP_headers
 
If you were thinking of using headers to place arbitrary data, I don't believe that works. And not all of the standard Header values are supported, as mentioned on the Wiki page, for security reasons.


On Fri, Oct 11, 2013 at 8:45 PM, Marc Adored <[hidden email]> wrote:
Hey guys I am trying to send some custom headers to my PHP script but they don't seem to be working. has anyone been successful in using them? Figured I'd ask here before filing a jira


Here is an example of what I am using:

    http_checkin = llHTTPRequest(base_url + "/checkin", [
                                                            HTTP_CUSTOM_HEADER, "DEVICE_TYPE", deviceType,
                                                            HTTP_CUSTOM_HEADER, "UPDATE_FREQ", (string)updateFrequency
                                                        ], "");


Neither DEVICE_TYPE or UPDATE_FREQ get sent to my PHP script. Also if I just send one set it doesn't come across either.

_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters




_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters


_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters
Reply | Threaded
Open this post in threaded view
|

Re: [slscripters] HTTP_CUSTOM_HEADER in llHTTPRequest not working

Marc Adored
This is the result I get:

[22:59] Test Object: Body: Device Type: 
Update Freq: 

I am not sure whats wrong. I copied your example exactly to try and get a working version and it doesn't work for me.







On Sat, Oct 12, 2013 at 1:22 AM, Kuraiko Yoshikawa <[hidden email]> wrote:
Mhh custom headers with custom data should work... up to 8 custom headers with a max length of 253 characters for each name+value combination

quick 'n' dirty... but this works for me:
LSL:
key http_request_id;
default
{

    touch_start(integer total_number)
    {
        http_request_id = llHTTPRequest("http://kuraiko.timesfactory.com/test.php", [
            HTTP_CUSTOM_HEADER, "DEVICE_TYPE", "TestBox",
            HTTP_CUSTOM_HEADER, "UPDATE_FREQ", "5.10"
        ], "");
    }
   
    http_response(key request_id, integer status, list metadata, string body)
    {
        if (request_id == http_request_id) {
            llOwnerSay(body);
        }
    }
}


----

PHP:
<?php
    echo 'Device Type: ' . $_SERVER["HTTP_DEVICE_TYPE"] . "\nUpdate Freq: " . $_SERVER["HTTP_UPDATE_FREQ"]
?>


or if you are running apache you can use $headers = apache_request_headers(); and access the headers with $headers['DEVICE_TYPE'] and $headers['UPDATE_FREQ']
(apache_request_headers is case sensitive... $_SERVER is always uppercase and adds HTTP_ as prefix to the header name)

---

and the in world output is:
[22:16] Object: Device Type: TestBox
Update Freq: 5.10


On 12.10.2013 06:17, Darien Caldwell wrote:
The vaild Header types are listed here: http://en.wikipedia.org/wiki/List_of_HTTP_headers
 
If you were thinking of using headers to place arbitrary data, I don't believe that works. And not all of the standard Header values are supported, as mentioned on the Wiki page, for security reasons.


On Fri, Oct 11, 2013 at 8:45 PM, Marc Adored <[hidden email]> wrote:
Hey guys I am trying to send some custom headers to my PHP script but they don't seem to be working. has anyone been successful in using them? Figured I'd ask here before filing a jira


Here is an example of what I am using:

    http_checkin = llHTTPRequest(base_url + "/checkin", [
                                                            HTTP_CUSTOM_HEADER, "DEVICE_TYPE", deviceType,
                                                            HTTP_CUSTOM_HEADER, "UPDATE_FREQ", (string)updateFrequency
                                                        ], "");


Neither DEVICE_TYPE or UPDATE_FREQ get sent to my PHP script. Also if I just send one set it doesn't come across either.

_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters




_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters


_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters



_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters
Reply | Threaded
Open this post in threaded view
|

Re: [slscripters] HTTP_CUSTOM_HEADER in llHTTPRequest not working

Marc Adored
Ok, so it looks like an nginx problem. I put a test script on a apache box and the headers come through. Thanks for helping Kuraiko!

I will respond to this thread with a fix when I figure out what part of nginx is preventing the custom headers but still allowing the HTTP_X_SECONDLIFE_* headers


On Sat, Oct 12, 2013 at 2:01 AM, Marc Adored <[hidden email]> wrote:
This is the result I get:

[22:59] Test Object: Body: Device Type: 
Update Freq: 

I am not sure whats wrong. I copied your example exactly to try and get a working version and it doesn't work for me.







On Sat, Oct 12, 2013 at 1:22 AM, Kuraiko Yoshikawa <[hidden email]> wrote:
Mhh custom headers with custom data should work... up to 8 custom headers with a max length of 253 characters for each name+value combination

quick 'n' dirty... but this works for me:
LSL:
key http_request_id;
default
{

    touch_start(integer total_number)
    {
        http_request_id = llHTTPRequest("http://kuraiko.timesfactory.com/test.php", [
            HTTP_CUSTOM_HEADER, "DEVICE_TYPE", "TestBox",
            HTTP_CUSTOM_HEADER, "UPDATE_FREQ", "5.10"
        ], "");
    }
   
    http_response(key request_id, integer status, list metadata, string body)
    {
        if (request_id == http_request_id) {
            llOwnerSay(body);
        }
    }
}


----

PHP:
<?php
    echo 'Device Type: ' . $_SERVER["HTTP_DEVICE_TYPE"] . "\nUpdate Freq: " . $_SERVER["HTTP_UPDATE_FREQ"]
?>


or if you are running apache you can use $headers = apache_request_headers(); and access the headers with $headers['DEVICE_TYPE'] and $headers['UPDATE_FREQ']
(apache_request_headers is case sensitive... $_SERVER is always uppercase and adds HTTP_ as prefix to the header name)

---

and the in world output is:
[22:16] Object: Device Type: TestBox
Update Freq: 5.10


On 12.10.2013 06:17, Darien Caldwell wrote:
The vaild Header types are listed here: http://en.wikipedia.org/wiki/List_of_HTTP_headers
 
If you were thinking of using headers to place arbitrary data, I don't believe that works. And not all of the standard Header values are supported, as mentioned on the Wiki page, for security reasons.


On Fri, Oct 11, 2013 at 8:45 PM, Marc Adored <[hidden email]> wrote:
Hey guys I am trying to send some custom headers to my PHP script but they don't seem to be working. has anyone been successful in using them? Figured I'd ask here before filing a jira


Here is an example of what I am using:

    http_checkin = llHTTPRequest(base_url + "/checkin", [
                                                            HTTP_CUSTOM_HEADER, "DEVICE_TYPE", deviceType,
                                                            HTTP_CUSTOM_HEADER, "UPDATE_FREQ", (string)updateFrequency
                                                        ], "");


Neither DEVICE_TYPE or UPDATE_FREQ get sent to my PHP script. Also if I just send one set it doesn't come across either.

_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters




_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters


_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters




_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters
Reply | Threaded
Open this post in threaded view
|

Re: [slscripters] HTTP_CUSTOM_HEADER in llHTTPRequest not working

Tiaeld Tolsen
In reply to this post by Marc Adored
AFAIK Your webserver must be set to accept (and pass) custom headers, refer to your webserver docs.


2013/10/12 Marc Adored <[hidden email]>
This is the result I get:

[22:59] Test Object: Body: Device Type: 
Update Freq: 

I am not sure whats wrong. I copied your example exactly to try and get a working version and it doesn't work for me.







On Sat, Oct 12, 2013 at 1:22 AM, Kuraiko Yoshikawa <[hidden email]> wrote:
Mhh custom headers with custom data should work... up to 8 custom headers with a max length of 253 characters for each name+value combination

quick 'n' dirty... but this works for me:
LSL:
key http_request_id;
default
{

    touch_start(integer total_number)
    {
        http_request_id = llHTTPRequest("http://kuraiko.timesfactory.com/test.php", [
            HTTP_CUSTOM_HEADER, "DEVICE_TYPE", "TestBox",
            HTTP_CUSTOM_HEADER, "UPDATE_FREQ", "5.10"
        ], "");
    }
   
    http_response(key request_id, integer status, list metadata, string body)
    {
        if (request_id == http_request_id) {
            llOwnerSay(body);
        }
    }
}


----

PHP:
<?php
    echo 'Device Type: ' . $_SERVER["HTTP_DEVICE_TYPE"] . "\nUpdate Freq: " . $_SERVER["HTTP_UPDATE_FREQ"]
?>


or if you are running apache you can use $headers = apache_request_headers(); and access the headers with $headers['DEVICE_TYPE'] and $headers['UPDATE_FREQ']
(apache_request_headers is case sensitive... $_SERVER is always uppercase and adds HTTP_ as prefix to the header name)

---

and the in world output is:
[22:16] Object: Device Type: TestBox
Update Freq: 5.10


On 12.10.2013 06:17, Darien Caldwell wrote:
The vaild Header types are listed here: http://en.wikipedia.org/wiki/List_of_HTTP_headers
 
If you were thinking of using headers to place arbitrary data, I don't believe that works. And not all of the standard Header values are supported, as mentioned on the Wiki page, for security reasons.


On Fri, Oct 11, 2013 at 8:45 PM, Marc Adored <[hidden email]> wrote:
Hey guys I am trying to send some custom headers to my PHP script but they don't seem to be working. has anyone been successful in using them? Figured I'd ask here before filing a jira


Here is an example of what I am using:

    http_checkin = llHTTPRequest(base_url + "/checkin", [
                                                            HTTP_CUSTOM_HEADER, "DEVICE_TYPE", deviceType,
                                                            HTTP_CUSTOM_HEADER, "UPDATE_FREQ", (string)updateFrequency
                                                        ], "");


Neither DEVICE_TYPE or UPDATE_FREQ get sent to my PHP script. Also if I just send one set it doesn't come across either.

_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters




_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters


_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters



_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters



_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters
Reply | Threaded
Open this post in threaded view
|

Re: [slscripters] HTTP_CUSTOM_HEADER in llHTTPRequest not working

Tori C.
In reply to this post by Marc Adored
On 10/12/2013 02:14 AM, Marc Adored wrote:
> Ok, so it looks like an nginx problem. I put a test script on a apache
> box and the headers come through. Thanks for helping Kuraiko!
>
> I will respond to this thread with a fix when I figure out what part
> of nginx is preventing the custom headers but still allowing
> the HTTP_X_SECONDLIFE_* headers
>
The X- prefix on header names is long established as good practice for
private-use stuff, you might try using the same naming convention on
your headers and see if nginx likes that better.
_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters
Reply | Threaded
Open this post in threaded view
|

Re: [slscripters] HTTP_CUSTOM_HEADER in llHTTPRequest not working

Kuraiko Yoshikawa
In reply to this post by Marc Adored
mhh the headers should also be in the $_SERVER variable... have you tested a var_dump() or print_r() with this variable resp. write it to a file and check it after your inworld script called the php script?


Oh I found this:
have you tried to use your header names without underscores (Device-Name and Update-Freq or better X-Device-Name like holydoughnuts mentioned)? ^^
http://stackoverflow.com/questions/8393772/how-to-get-non-standard-http-headers-on-nginx 
default underscores_in_headers is set to off in the config http://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers

and maybe this helps too http://www.cyberciti.biz/faq/nginx-send-custom-http-headers/
On 12.10.2013 08:14, Marc Adored wrote:
Ok, so it looks like an nginx problem. I put a test script on a apache box and the headers come through. Thanks for helping Kuraiko!

I will respond to this thread with a fix when I figure out what part of nginx is preventing the custom headers but still allowing the HTTP_X_SECONDLIFE_* headers


On Sat, Oct 12, 2013 at 2:01 AM, Marc Adored <[hidden email]> wrote:
This is the result I get:

[22:59] Test Object: Body: Device Type: 
Update Freq: 

I am not sure whats wrong. I copied your example exactly to try and get a working version and it doesn't work for me.







On Sat, Oct 12, 2013 at 1:22 AM, Kuraiko Yoshikawa <[hidden email]> wrote:
Mhh custom headers with custom data should work... up to 8 custom headers with a max length of 253 characters for each name+value combination

quick 'n' dirty... but this works for me:
LSL:
key http_request_id;
default
{

    touch_start(integer total_number)
    {
        http_request_id = llHTTPRequest("http://kuraiko.timesfactory.com/test.php", [
            HTTP_CUSTOM_HEADER, "DEVICE_TYPE", "TestBox",
            HTTP_CUSTOM_HEADER, "UPDATE_FREQ", "5.10"
        ], "");
    }
   
    http_response(key request_id, integer status, list metadata, string body)
    {
        if (request_id == http_request_id) {
            llOwnerSay(body);
        }
    }
}


----

PHP:
<?php
    echo 'Device Type: ' . $_SERVER["HTTP_DEVICE_TYPE"] . "\nUpdate Freq: " . $_SERVER["HTTP_UPDATE_FREQ"]
?>


or if you are running apache you can use $headers = apache_request_headers(); and access the headers with $headers['DEVICE_TYPE'] and $headers['UPDATE_FREQ']
(apache_request_headers is case sensitive... $_SERVER is always uppercase and adds HTTP_ as prefix to the header name)

---

and the in world output is:
[22:16] Object: Device Type: TestBox
Update Freq: 5.10


On 12.10.2013 06:17, Darien Caldwell wrote:
The vaild Header types are listed here: http://en.wikipedia.org/wiki/List_of_HTTP_headers
 
If you were thinking of using headers to place arbitrary data, I don't believe that works. And not all of the standard Header values are supported, as mentioned on the Wiki page, for security reasons.


On Fri, Oct 11, 2013 at 8:45 PM, Marc Adored <[hidden email]> wrote:
Hey guys I am trying to send some custom headers to my PHP script but they don't seem to be working. has anyone been successful in using them? Figured I'd ask here before filing a jira


Here is an example of what I am using:

    http_checkin = llHTTPRequest(base_url + "/checkin", [
                                                            HTTP_CUSTOM_HEADER, "DEVICE_TYPE", deviceType,
                                                            HTTP_CUSTOM_HEADER, "UPDATE_FREQ", (string)updateFrequency
                                                        ], "");


Neither DEVICE_TYPE or UPDATE_FREQ get sent to my PHP script. Also if I just send one set it doesn't come across either.

_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters




_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters


_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters





_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters
Reply | Threaded
Open this post in threaded view
|

Re: [slscripters] HTTP_CUSTOM_HEADER in llHTTPRequest not working

Marc Adored
yay! using the X- prefix and using dashes instead of underscores made them start coming through! Thanks for the help guys this was a stumper lol


On Sat, Oct 12, 2013 at 2:59 PM, Kuraiko Yoshikawa <[hidden email]> wrote:
mhh the headers should also be in the $_SERVER variable... have you tested a var_dump() or print_r() with this variable resp. write it to a file and check it after your inworld script called the php script?


Oh I found this:
have you tried to use your header names without underscores (Device-Name and Update-Freq or better X-Device-Name like holydoughnuts mentioned)? ^^
http://stackoverflow.com/questions/8393772/how-to-get-non-standard-http-headers-on-nginx 
default underscores_in_headers is set to off in the config http://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers

and maybe this helps too http://www.cyberciti.biz/faq/nginx-send-custom-http-headers/
On 12.10.2013 08:14, Marc Adored wrote:
Ok, so it looks like an nginx problem. I put a test script on a apache box and the headers come through. Thanks for helping Kuraiko!

I will respond to this thread with a fix when I figure out what part of nginx is preventing the custom headers but still allowing the HTTP_X_SECONDLIFE_* headers


On Sat, Oct 12, 2013 at 2:01 AM, Marc Adored <[hidden email]> wrote:
This is the result I get:

[22:59] Test Object: Body: Device Type: 
Update Freq: 

I am not sure whats wrong. I copied your example exactly to try and get a working version and it doesn't work for me.







On Sat, Oct 12, 2013 at 1:22 AM, Kuraiko Yoshikawa <[hidden email]> wrote:
Mhh custom headers with custom data should work... up to 8 custom headers with a max length of 253 characters for each name+value combination

quick 'n' dirty... but this works for me:
LSL:
key http_request_id;
default
{

    touch_start(integer total_number)
    {
        http_request_id = llHTTPRequest("http://kuraiko.timesfactory.com/test.php", [
            HTTP_CUSTOM_HEADER, "DEVICE_TYPE", "TestBox",
            HTTP_CUSTOM_HEADER, "UPDATE_FREQ", "5.10"
        ], "");
    }
   
    http_response(key request_id, integer status, list metadata, string body)
    {
        if (request_id == http_request_id) {
            llOwnerSay(body);
        }
    }
}


----

PHP:
<?php
    echo 'Device Type: ' . $_SERVER["HTTP_DEVICE_TYPE"] . "\nUpdate Freq: " . $_SERVER["HTTP_UPDATE_FREQ"]
?>


or if you are running apache you can use $headers = apache_request_headers(); and access the headers with $headers['DEVICE_TYPE'] and $headers['UPDATE_FREQ']
(apache_request_headers is case sensitive... $_SERVER is always uppercase and adds HTTP_ as prefix to the header name)

---

and the in world output is:
[22:16] Object: Device Type: TestBox
Update Freq: 5.10


On 12.10.2013 06:17, Darien Caldwell wrote:
The vaild Header types are listed here: http://en.wikipedia.org/wiki/List_of_HTTP_headers
 
If you were thinking of using headers to place arbitrary data, I don't believe that works. And not all of the standard Header values are supported, as mentioned on the Wiki page, for security reasons.


On Fri, Oct 11, 2013 at 8:45 PM, Marc Adored <[hidden email]> wrote:
Hey guys I am trying to send some custom headers to my PHP script but they don't seem to be working. has anyone been successful in using them? Figured I'd ask here before filing a jira


Here is an example of what I am using:

    http_checkin = llHTTPRequest(base_url + "/checkin", [
                                                            HTTP_CUSTOM_HEADER, "DEVICE_TYPE", deviceType,
                                                            HTTP_CUSTOM_HEADER, "UPDATE_FREQ", (string)updateFrequency
                                                        ], "");


Neither DEVICE_TYPE or UPDATE_FREQ get sent to my PHP script. Also if I just send one set it doesn't come across either.

_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters




_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters


_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters






_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters