Skip to content

Instantly share code, notes, and snippets.

@shackep
Created October 3, 2015 00:22
Show Gist options
  • Save shackep/20421d561009e980e90c to your computer and use it in GitHub Desktop.
Save shackep/20421d561009e980e90c to your computer and use it in GitHub Desktop.
epoch response when comment not going through
[02-Oct-2015 18:56:06 UTC] Array
(
[akismet_debug] => Array
(
[akismet_url] => https://2eff3af73a1b.rest.akismet.com/1.1/comment-check
[http_args] => Array
(
[body] => comment_post_ID=273568&comment_parent=0&akismet_comment_nonce=passed&ak_js=1443812159769&user_id=0&comment_author=peter&comment_author_email=peter.shackelford%40gmail.com&comment_author_url=&comment_content=This+is+a+test+comment.&comment_author_IP=192.168.50.1&comment_type=&comment_date=2015-10-02+18%3A56%3A05&comment_date_gmt=2015-10-02+18%3A56%3A05&user_ip=192.168.50.1&user_agent=Mozilla%2F5.0+%28Macintosh%3B+Intel+Mac+OS+X+10_10_4%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F45.0.2454.101+Safari%2F537.36&referrer=http%3A%2F%2Fsrpantheon.dev%2Fblog%2Fdouble-trouble%2F&blog=http%3A%2F%2Fsrpantheon.dev&blog_lang=en_US&blog_charset=UTF-8&permalink=http%3A%2F%2Fsrpantheon.dev%2Fblog%2Fdouble-trouble%2F&POST_author=peter&POST_email=peter.shackelford%40gmail.com&POST_url=&POST_comment=This+is+a+test+comment.&POST_comment_post_ID=273568&POST_comment_parent=0&POST_akismet_comment_nonce=67b6dd2f01&POST_ak_js=1443812159769&SERVER_SOFTWARE=nginx%2F1.9.3&REQUEST_URI=%2Fepoch-api%3FepochNonce%3D9e8431c00c%26action%3Dsubmit_comment&PATH=%2Fsrv%2Fwww%2Fphpcs%2Fscripts%2F%3A%2Fusr%2Flocal%2Fbin%3A%2Fusr%2Fbin%3A%2Fbin&USER=www-data&HOME=%2Fvar%2Fwww&FCGI_ROLE=RESPONDER&QUERY_STRING=epochNonce%3D9e8431c00c%26action%3Dsubmit_comment&REQUEST_METHOD=POST&CONTENT_TYPE=application%2Fx-www-form-urlencoded%3B+charset%3DUTF-8&CONTENT_LENGTH=178&SCRIPT_NAME=%2Findex.php&DOCUMENT_URI=%2Findex.php&DOCUMENT_ROOT=%2Fsrv%2Fwww%2Fsrpantheon%2Fhtdocs&SERVER_PROTOCOL=HTTP%2F1.1&REQUEST_SCHEME=http&GATEWAY_INTERFACE=CGI%2F1.1&REMOTE_ADDR=192.168.50.1&REMOTE_PORT=51466&SERVER_ADDR=192.168.50.4&SERVER_PORT=80&SERVER_NAME=srpantheon.dev&REDIRECT_STATUS=200&SCRIPT_FILENAME=%2Fsrv%2Fwww%2Fsrpantheon%2Fhtdocs%2Findex.php&HTTP_HOST=srpantheon.dev&HTTP_CONNECTION=keep-alive&HTTP_CONTENT_LENGTH=178&HTTP_ACCEPT=%2A%2F%2A&HTTP_ORIGIN=http%3A%2F%2Fsrpantheon.dev&HTTP_X_REQUESTED_WITH=XMLHttpRequest&HTTP_USER_AGENT=Mozilla%2F5.0+%28Macintosh%3B+Intel+Mac+OS+X+10_10_4%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F45.0.2454.101+Safari%2F537.36&HTTP_CONTENT_TYPE=application%2Fx-www-form-urlencoded%3B+charset%3DUTF-8&HTTP_REFERER=http%3A%2F%2Fsrpantheon.dev%2Fblog%2Fdouble-trouble%2F&HTTP_ACCEPT_ENCODING=gzip%2C+deflate&HTTP_ACCEPT_LANGUAGE=en-US%2Cen%3Bq%3D0.8&HTTP_COOKIE=&PHP_SELF=%2Findex.php&REQUEST_TIME_FLOAT=1443812165.5123&REQUEST_TIME=1443812165&comment_post_modified_gmt=2015-10-01+16%3A43%3A18
[headers] => Array
(
[Content-Type] => application/x-www-form-urlencoded; charset=UTF-8
[Host] => 2eff3af73a1b.rest.akismet.com
[User-Agent] => WordPress/4.3 | Akismet/3.1.3
)
[httpversion] => 1.0
[timeout] => 15
)
[response] => Array
(
[headers] => Array
(
[server] => nginx
[date] => Fri, 02 Oct 2015 18:56:06 GMT
[content-type] => text/plain; charset=utf-8
[content-length] => 5
[connection] => close
[x-akismet-server] => 10.10.100.98
[x-akismet-guid] => 5990e58a1c2403a53c26cf3139cb91d2
)
[body] => false
[response] => Array
(
[code] => 200
[message] => OK
)
[cookies] => Array
(
)
[filename] =>
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment