Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
be94596d
...
be94596d54aba032da3a1e3d880d3f3a91c7255d
authored
2012-10-18 10:32:38 +0200
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
updated doclink
1 parent
26f51db8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletions
CHANGELOG.md
docs
CHANGELOG.md
View file @
be94596
...
...
@@ -44,6 +44,23 @@ $ casperjs dump-headers.js
}
```
To fetch a particular header by its name:
```
javascript
require
(
'casper'
).
create
().
start
(
'http://www.google.fr/'
,
function
(
response
)
{
this
.
echo
(
response
.
headers
.
get
(
'Date'
));
}).
run
();
```
That gives:
```
javascript
$
casperjs
dump
-
single
-
header
.
js
Thu
,
18
Oct
2012
08
:
26
:
34
GMT
```
The documentation has been
[
updated accordingly
](
http://casperjs.org/api.html#casper.then.callbacks
)
.
### Bugfixes & enhancements
-
[
Casper.resourceExists()
](
http://casperjs.org/api.html#casper.resourceExists
)
and related functions now checks for non HTTP-404 received responses.
...
...
docs
@
0c567490
Subproject commit
722549a0a483f19fc768d304d98050389d0c038a
Subproject commit
0c56749087967d128f206d3b67f274fb75000676
...
...
Please
register
or
sign in
to post a comment