Monday 15 August 2011

php - iOSpush notification return code 102 -



php - iOSpush notification return code 102 -

i'm running force notification form server iphone.

... ... // encode payload json

$payload = json_encode($body);

// build binary notification

$msg = chr(0) . pack('n', 32) . pack('h*', $devicetoken) . pack('n', strlen($payload)) . $payload;

$result = fwrite($fp, $msg, strlen($msg));

when echo $result. shown "102". mean?

1xx informational

**102 processing (webdav; rfc 2518)**

as webdav request may contain many sub-requests involving file operations, may take long time finish request. code indicates server has received , processing request, no response available yet.[2] prevents client timing out , assuming request lost. source of wikipedia list of http status codes

php ios

No comments:

Post a Comment