projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
This commit was manufactured by cvs2svn to create tag 'RELEASE_0_23_0'.
[m6w6/ext-http]
/
tests
/
request_etag.phpt
1
--TEST--
2
request etag
3
--SKIPIF--
4
<?php
5
include 'skip.inc';
6
skipif(!http_support(HTTP_SUPPORT_REQUESTS), "need request support");
7
?>
8
--FILE--
9
<?php
10
echo "-TEST\n";
11
var_dump(http_get("http://dev.iworks.at/ext-http/etag", array("etag" => '"26ad3a-5-95eb19c0"')));
12
echo "Done\n";
13
?>
14
--EXPECTF--
15
%sTEST
16
string(%d) "HTTP/1.1 304 Not Modified
17
Date: %s
18
Server: %s
19
ETag: "26ad3a-5-95eb19c0"
20
"
21
Done